xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] x86/vvmx: Fixes to MSR_BITMAP interception handling
@ 2017-07-19 11:57 Andrew Cooper
  2017-07-19 11:57 ` [PATCH 1/6] x86/vmx: Improvements to vmx_{dis, en}able_intercept_for_msr() Andrew Cooper
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Andrew Cooper @ 2017-07-19 11:57 UTC (permalink / raw)
  To: Xen-devel; +Cc: Andrew Cooper, Kevin Tian, Jun Nakajima, Jan Beulich

This fixes a bug where HyperV (Windows Server 2012) crashes, because it
attempts to intercept the x2apic MSRs for its L2 guests, but Xen uses a stale
mapping of gfn 0 for the MSR_BITMAP.

There are many more bugs in this area.  I'm fairly sure the merging of
low/high half accesses aren't yet correct.

Andrew Cooper (6):
  x86/vmx: Improvements to vmx_{dis,en}able_intercept_for_msr()
  x86/vpmu: Use vmx_{clear,set}_msr_intercept() rather than opencoding them
  x86/vmx: Introduce and use struct vmx_msr_bitmap
  x86/vvmx: Switch nested MSR intercept handling to use struct vmx_msr_bitmap
  x86/vvmx: Fix handing of the MSR_BITMAP field with VMCS shadowing
  x86/vvmx: Fix auditing of MSR_BITMAP parameter

 xen/arch/x86/cpu/vpmu_intel.c      |  64 +++++++------------
 xen/arch/x86/hvm/vmx/vmcs.c        | 126 +++++++++++++++++--------------------
 xen/arch/x86/hvm/vmx/vmx.c         |  34 ++++------
 xen/arch/x86/hvm/vmx/vvmx.c        |  44 ++++++++-----
 xen/include/asm-x86/hvm/vmx/vmcs.h |  28 ++++++---
 5 files changed, 143 insertions(+), 153 deletions(-)

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-07-27  9:01 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-19 11:57 [PATCH 0/6] x86/vvmx: Fixes to MSR_BITMAP interception handling Andrew Cooper
2017-07-19 11:57 ` [PATCH 1/6] x86/vmx: Improvements to vmx_{dis, en}able_intercept_for_msr() Andrew Cooper
2017-07-27  5:43   ` Tian, Kevin
2017-07-19 11:57 ` [PATCH 2/6] x86/vpmu: Use vmx_{clear, set}_msr_intercept() rather than opencoding them Andrew Cooper
2017-07-19 12:17   ` Andrew Cooper
2017-07-27  5:46     ` Tian, Kevin
2017-07-19 13:33   ` Boris Ostrovsky
2017-07-19 11:57 ` [PATCH 3/6] x86/vmx: Introduce and use struct vmx_msr_bitmap Andrew Cooper
2017-07-27  6:02   ` Tian, Kevin
2017-07-27  8:30     ` Andrew Cooper
2017-07-27  9:01       ` Tian, Kevin
2017-07-19 11:57 ` [PATCH 4/6] x86/vvmx: Switch nested MSR intercept handling to " Andrew Cooper
2017-07-27  6:09   ` Tian, Kevin
2017-07-19 11:57 ` [PATCH 5/6] x86/vvmx: Fix handing of the MSR_BITMAP field with VMCS shadowing Andrew Cooper
2017-07-26  8:50   ` Sergey Dyasli
2017-07-27  6:11   ` Tian, Kevin
2017-07-19 11:57 ` [PATCH 6/6] x86/vvmx: Fix auditing of MSR_BITMAP parameter Andrew Cooper
2017-07-27  6:13   ` Tian, Kevin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).