mbox series

[v6,0/3] nvmx: implement support for MSR bitmaps

Message ID 20200219102256.81594-1-roger.pau@citrix.com (mailing list archive)
Headers show
Series nvmx: implement support for MSR bitmaps | expand

Message

Roger Pau Monné Feb. 19, 2020, 10:22 a.m. UTC
Hello,

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. Previous patches are preparatory
patches in order to import bitmap_{set/clear}.

Thanks, Roger.

Roger Pau Monne (3):
  arm: rename BIT_{WORD/MASK/PER_WORD) to BITOP_*
  bitmap: import bitmap_{set/clear} from Linux 5.5
  nvmx: always trap accesses to x2APIC MSRs

 xen/arch/arm/arm32/lib/bitops.c        | 10 +++----
 xen/arch/arm/arm64/lib/bitops.c        | 10 +++----
 xen/arch/arm/arm64/lib/find_next_bit.c | 10 +++----
 xen/arch/x86/hvm/vmx/vvmx.c            |  7 +++++
 xen/common/bitmap.c                    | 39 +++++++++++++++++++++++++
 xen/include/asm-arm/bitops.h           | 20 ++++++-------
 xen/include/xen/bitmap.h               | 40 ++++++++++++++++++++++++++
 xen/include/xen/bitops.h               |  2 ++
 8 files changed, 112 insertions(+), 26 deletions(-)