Conversation
all EFER writes and control register writes from qemu. Signed-off-by: Alexey Romko <nevilad@yahoo.com>
|
Windows 7 x86 guest needs EFER MSR, it sets Execute Disable Bit Enable: IA32_EFER.NXE. Current qemu version does not read\write it from haxm. When this MSR will not be saved\restored the guest OS will not work correctly. So I created this patch for qemu. There is a bug in qemu at least on Windows host which does not save the correct registers (https://bugs.launchpad.net/qemu/+bug/1855617). Do they work on other hosts, has somebody used snapshots with haxm on other hosts? |
|
These MSRs are not saved to/from qemu, but they values may be saved during MSR write exits and returned in MSR read exits: |
563eb1b to
6b942e3
Compare
b73a231 to
da1b8ec
Compare
PDPTE values are not restored after snapshot loading. I added PDPTE values reading from guest memory and write these to vmcs after all EFER writes and control register writes from qemu, since these can change memory mode to use PDPTES.
Open questions: