Re: [PATCH] kvm:vmx: update secondary controls when disabling APICv

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

 



On 05/16/2016 11:15 PM, Steve Rutherford wrote:
After updating the secondary execution controls, the MSR bitmaps need
to be updated to enable APIC MSR intercepts (i.e. start treating APIC
MSRs as if the guest's APICs are back in xAPIC mode by calling
vmx_set_msr_bitmap, given that updating the execution controls should
disable "virtualize x2APIC mode").

The function vmx_set_msr_bitmap needs to look at the state of APICv to
know that "virtualize x2APIC mode" was disabled.

Also, calling vmx_secondary_exec_control clobbers /all/ dynamic bits
in the secondary controls (including the shadow VMCS bits). Those bits
needs to be respected (ideally this patch should just whack all of the
APICv related secondary execution controls).

I can put together a patch if you'd like.
for the perfect world I will agree. For a real life -Windows does not support x2Apic.
OK. We will think on this a bit.

May be they will in Win2016.
--
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