Comment # 5 on bug 1205978 from
(In reply to Joey Lee from comment #4)
> Created bug on edk2 upstream bugzilla:
> 
> Bug 4373 - Got Page-Fault in CpuIo2Dxe.dll when using edk2-stable202211 ovmf
> with qemi-kvm
> https://bugzilla.tianocore.org/show_bug.cgi?id=4373
> 
> I also sent mail to devel@edk2.groups.io for checking with Gerd Hoffmann.

After debugging with Gerd on edk2 bugzilla, we found the the CPU phys-bits be
set to 42 bit even my CPU on host is 39 bits physcial:

Host:
Address sizes:                   39 bits physical, 48 bits virtual

Guest ovmf log:
PlatformAddressWidthFromCpuid: Signature: 'GenuineIntel', PhysBits: 42,
QemuQuirk: On, Valid: Yes

It causes ovmf crash. Then I found that we have the following patch in qemu in
Virtualization/qemu on OBS:

increase-x86_64-physical-bits-to-42.patch

From: Bruce Rogers <brogers@suse.com>
Date: Fri, 17 May 2013 16:49:58 -0600
Subject: increase x86_64 physical bits to 42


You are receiving this mail because: