Re: [PATCH 04/11] KVM: nVMX: Introduce vmread and vmwrite bitmaps

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

 




Gleb Natapov <gleb@xxxxxxxxxx> wrote on 08/04/2013 02:50:54 PM:


> >  static bool cpu_has_load_ia32_efer;
> >  static bool cpu_has_load_perf_global_ctrl;
> > @@ -4033,6 +4080,8 @@ static int vmx_vcpu_setup(struct vcpu_vm
> >     vmcs_write64(IO_BITMAP_A, __pa(vmx_io_bitmap_a));
> >     vmcs_write64(IO_BITMAP_B, __pa(vmx_io_bitmap_b));
> >
> > +   vmcs_write64(VMREAD_BITMAP, __pa(vmx_vmread_bitmap));
> > +   vmcs_write64(VMWRITE_BITMAP, __pa(vmx_vmwrite_bitmap));
> Why are you doing it without checking that shadow vmcs is supported and
> enabled?

I will add these lines under "if (enable_shadow_vmcs)"

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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