> And, in my recent KVM / QEMU usage instructions for Jiewen: > > https://www.mail-archive.com/edk2-devel@lists.01.org/msg19446.html > > I provided the following settings: > > > # Settings for Ia32 only: > > [...] > > QEMU_COMMAND="qemu-system-i386 -cpu coreduo,-nx" > > > > # Settings for Ia32X64 only: > > [...] > > QEMU_COMMAND=qemu-system-x86_64 > > I guess the "-nx" bit can be left off with TCG, but AFAIR it is required > for KVM.
Oh right now I remember. The same problem exists: EFER is not saved in the 32-bit state save map. AFAIK all processors with XD also have long mode. That said, qemu-system-x86_64 and no -cpu option should work even with Ia32 PEI/DXE/SMM and no -cpu option. In that case you could use XD. Now if only Intel made the *full* format of the state save map public, we could emulate everything more accurately... I'm told it's in the BIOS writers guide. Paolo _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel