Re: [PATCH v4 1/8] KVM: nVMX: Keep KVM updates to BNDCFGS ctrl bits across MSR write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey Sean,

On Wed, Apr 6, 2022 at 5:26 PM Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
>
> On Fri, Mar 04, 2022, Paolo Bonzini wrote:
> > On 3/4/22 00:44, Sean Christopherson wrote:
> > >
> > > diff --git a/arch/x86/kvm/vmx/nested.h b/arch/x86/kvm/vmx/nested.h
> > > index c92cea0b8ccc..46dd1967ec08 100644
> > > --- a/arch/x86/kvm/vmx/nested.h
> > > +++ b/arch/x86/kvm/vmx/nested.h
> > > @@ -285,8 +285,8 @@ static inline bool nested_cr4_valid(struct kvm_vcpu *vcpu, unsigned long val)
> > >  }
> > >
> > >  /* No difference in the restrictions on guest and host CR4 in VMX operation. */
> > > -#define nested_guest_cr4_valid nested_cr4_valid
> > > -#define nested_host_cr4_valid  nested_cr4_valid
> > > +#define nested_guest_cr4_valid kvm_is_valid_cr4
> > > +#define nested_host_cr4_valid  kvm_is_valid_cr4
> >
> > This doesn't allow the theoretically possible case of L0 setting some
> > CR4-fixed-0 bits for L1.  I'll send another one.
>
> Are you still planning on sending a proper patch for this?
>
> And more importantly, have we shifted your view on this patch/series?

Sorry, I should've followed up. If nobody else complains, let's just
leave everything as-is and avoid repeating the mistakes of the patches
to blame (hey, I authored one of those!)

--
Best,
Oliver



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux