[PATCH 0/3] Fix #GP at wrong rip for mov cr instructions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Three mov cr instructions fail in a similar way when they fault: the
fault rip points at the next instead of faulting instructions.  This
patch set fixes the problem.


Avi Kivity (3):
  KVM: Fix mov cr0 #GP at wrong instruction
  KVM: Fix mov cr4 #GP at wrong instruction
  KVM: Fix mov cr3 #GP at wrong instruction

 arch/x86/include/asm/kvm_host.h |    6 +++---
 arch/x86/kvm/mmu.c              |    2 +-
 arch/x86/kvm/svm.c              |    6 +++---
 arch/x86/kvm/vmx.c              |   21 +++++++++++++++------
 arch/x86/kvm/x86.c              |   32 +++++++-------------------------
 5 files changed, 29 insertions(+), 38 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux