All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xen-devel] [PATCH v4 0/3] nvmx: implement support for MSR bitmaps
@ 2020-02-04 17:34 Roger Pau Monne
  2020-02-04 17:34 ` [Xen-devel] [PATCH v4 1/3] " Roger Pau Monne
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Roger Pau Monne @ 2020-02-04 17:34 UTC (permalink / raw)
  To: xen-devel
  Cc: Kevin Tian, Stefano Stabellini, Julien Grall, Jun Nakajima,
	Wei Liu, Konrad Rzeszutek Wilk, George Dunlap, Andrew Cooper,
	Ian Jackson, Jan Beulich, Roger Pau Monne

Hello,

Current nested VMX code advertises support for the MSR bitmap feature,
yet the implementation isn't done. Previous to this series Xen just maps
the nested guest MSR bitmap (as set by L1) and that's it, the L2 guest
ends up using the L1 MSR bitmap.

This series adds handling of the L2 MSR bitmap and merging with the L1
MSR bitmap and loading it into the nested guest VMCS.

Patch #3 makes sure the x2APIC MSR range is always trapped, or else a
guest with nested virtualization enabled could manage to access some of
the x2APIC MSR registers from the host.

Thanks, Roger.

Roger Pau Monne (3):
  nvmx: implement support for MSR bitmaps
  bitmap: import bitmap_{set/clear} from Linux 5.5
  nvmx: always trap accesses to x2APIC MSRs

 xen/arch/x86/hvm/vmx/vvmx.c        | 80 ++++++++++++++++++++++++++++--
 xen/common/bitmap.c                | 41 +++++++++++++++
 xen/include/asm-x86/hvm/vmx/vvmx.h |  3 +-
 xen/include/xen/bitmap.h           | 39 +++++++++++++++
 4 files changed, 158 insertions(+), 5 deletions(-)

-- 
2.25.0


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

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

end of thread, other threads:[~2020-02-14 12:05 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04 17:34 [Xen-devel] [PATCH v4 0/3] nvmx: implement support for MSR bitmaps Roger Pau Monne
2020-02-04 17:34 ` [Xen-devel] [PATCH v4 1/3] " Roger Pau Monne
2020-02-05  8:50   ` Jan Beulich
2020-02-04 17:34 ` [Xen-devel] [PATCH v4 2/3] bitmap: import bitmap_{set/clear} from Linux 5.5 Roger Pau Monne
2020-02-05  8:46   ` Jan Beulich
2020-02-05 13:21     ` Roger Pau Monné
2020-02-05 13:27       ` Jan Beulich
2020-02-08 14:37         ` Julien Grall
2020-02-10  8:43           ` Jan Beulich
2020-02-10  9:20             ` Julien Grall
2020-02-10  9:31               ` Jan Beulich
2020-02-10  9:45                 ` Julien Grall
2020-02-10 10:28                   ` Jan Beulich
2020-02-10 11:00                     ` Julien Grall
2020-02-10 11:59                       ` Jan Beulich
2020-02-10 12:21                         ` Julien Grall
2020-02-10 12:32                           ` Jan Beulich
2020-02-10 12:54                             ` Julien Grall
2020-02-14 10:40                               ` Roger Pau Monné
2020-02-14 12:04                                 ` Jan Beulich
2020-02-04 17:34 ` [Xen-devel] [PATCH v4 3/3] nvmx: always trap accesses to x2APIC MSRs Roger Pau Monne
2020-02-05  8:52   ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.