mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] KVM: VMX: per-VCPU MSR bitmaps
@ 2018-01-16 16:52 Paolo Bonzini
  2018-01-16 16:52 ` [PATCH 1/3] KVM: VMX: introduce alloc_loaded_vmcs Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paolo Bonzini @ 2018-01-16 16:52 UTC (permalink / raw)
  To: linux-kernel, kvm

This can be useful for both processor tracing and IBRS/IBPB MSRs.
MSR bitmaps are moved into struct loaded_vmcs so that we keep two separate
bitmaps for L1 and L2 guests.

The first patch introduces an auxiliary function to allocate a struct
loaded_vmcs, the second simplifies a bit the handling of the bitmaps.
The third is the main change.

I had started working on this as an urgent-ish fix for the processor
tracing patches.  At this point it's become 4.17 material, but I'm
sending it out early for Luwei to base his patches on this work.

Paolo Bonzini (3):
  KVM: VMX: introduce alloc_loaded_vmcs
  KVM: VMX: use same MSR bitmaps for 32-/64-bit modes
  KVM: VMX: make MSR bitmaps per-VCPU

 arch/x86/kvm/vmx.c | 277 +++++++++++++++++++++++++----------------------------
 1 file changed, 130 insertions(+), 147 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2018-01-16 17:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-16 16:52 [PATCH 0/3] KVM: VMX: per-VCPU MSR bitmaps Paolo Bonzini
2018-01-16 16:52 ` [PATCH 1/3] KVM: VMX: introduce alloc_loaded_vmcs Paolo Bonzini
2018-01-16 17:27   ` David Hildenbrand
2018-01-16 17:38     ` Paolo Bonzini
2018-01-16 16:52 ` [PATCH 2/3] KVM: VMX: use same MSR bitmaps for 32-/64-bit modes Paolo Bonzini
2018-01-16 16:52 ` [PATCH 3/3] KVM: VMX: make MSR bitmaps per-VCPU Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®