Re: [PATCH 0/3] Per-VCPU MSR bitmaps patches - topic branch for x86/pti

From: Paolo Bonzini
Date: Sat Jan 27 2018 - 03:40:01 EST


On 26/01/2018 23:51, Paolo Bonzini wrote:
> David and others,
>
> the following changes since commit ba804bb4b72e57374b5f567b783aa0298fba0ce6:
>
> Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-01-26 09:03:16 -0800)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/virt/kvm/kvm.git msr-bitmaps
>
> for you to fetch changes up to de4004d8b8c9da2a3923e42577307c59c71ab8e6:
>
> KVM: VMX: make MSR bitmaps per-VCPU (2018-01-26 22:59:32 +0100)
>
> The patches are on top of Linus's tree and I checked that they apply okay
> on top of the latest 4.14 tree as well as required for tip x86/pti.
> One extra commit is needed that is pretty safe and would have been merged
> next week.

... and there's an issue in the patches (the choice of whether to
intercept MSR_KERNEL_GS_BASE is inverted). I'll blame what's left of
this week's flu and send v2.

Paolo

> Radim, please pull this into kvm.git too. The merge is a bit messy, so I've
> placed my resolution on kvm.git, branch refs/heads/msr-bitmaps-merge-resolution.
> It's based on kvm/queue, assuming that all of kvm/queue will get into the
> pull requests for the 4.16 merge window (and thus soonish in kvm/next).
> Hopefully the next few releases will be much more uneventful...
>
> Thanks,
>
> Paolo
>
> Jim Mattson (1):
> KVM: nVMX: Eliminate vmcs02 pool
>
> Paolo Bonzini (2):
> KVM: VMX: introduce alloc_loaded_vmcs
> KVM: VMX: make MSR bitmaps per-VCPU
>
> arch/x86/kvm/vmx.c | 437 ++++++++++++++++++++++-------------------------------
> 1 file changed, 183 insertions(+), 254 deletions(-)
>