Messages in this thread | | | From | Wincy Van <> | Date | Wed, 28 Jan 2015 14:20:39 +0800 | Subject | Re: [PATCH v3 2/6] KVM: nVMX: Enable nested virtualize x2apic mode. |
| |
On Wed, Jan 28, 2015 at 5:39 AM, Paolo Bonzini <pbonzini@redhat.com> wrote: > > > On 24/01/2015 11:21, Wincy Van wrote: >> +static void nested_vmx_disable_intercept_for_msr(unsigned long *msr_bitmap_l1, >> + unsigned long *msr_bitmap_nested, >> + u32 msr, int type) >> +{ >> + int f = sizeof(unsigned long); >> + >> + if (!cpu_has_vmx_msr_bitmap()) >> + return; >> + > > Also, make this a WARN_ON.
WIll do.
Thanks, Wincy
> > Paolo
| |