This series of patches fixes various scenarios in which KVM does not follow x86
specifications. Patches #4 and #5 are related; they reflect a new revision of
the previously submitted patch that dealt with the wrong masking of registers
in long-mode. Patch #3 is a follow-up to the previously sumbitted patch that
fixed the wrong reserved page table masks. Patches #3 and #5 were not tested in
a manner that actually checks the modified behavior. Not all the pathes in
patch #4 were tested.
Thanks for reviewing the patches.
Nadav Amit (5):
KVM: x86: Emulator does not calculate address correctly
KVM: vmx: handle_dr does not handle RSP correctly
KVM: x86: Mark bit 7 in long-mode PDPTE according to 1GB pages support
KVM: x86: Wrong register masking in 64-bit mode
KVM: x86: Fix wrong masking on relative jump/call
arch/x86/kvm/cpuid.h | 7 +++++++
arch/x86/kvm/emulate.c | 47 +++++++++++++++++++++++++++++------------------
arch/x86/kvm/mmu.c | 8 ++++++--
arch/x86/kvm/vmx.c | 2 +-
4 files changed, 43 insertions(+), 21 deletions(-)