How does kvm support x2apic?

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

 



Hi,

According to this:

https://github.com/torvalds/linux/commit/0d1de2d901f4ba0972a3886496a44fb1d3300dbd

It looks like kvm have been supporting x2apic since kernel 2.6.32, or
even earlier.

However, this following patch:

https://github.com/torvalds/linux/commit/8d14695f9542e9e0195d6e41ddaa52c32322adf5

Also claims that adding support for x2apic. But this later patch was
for kernel 3.9.

So I am very confused:

First, what's the difference between these two patches? Or say, does
kvm support x2apic since kernel 2.6.32, or since kernel 3.9?

Second, can guest use x2apic even if the host does not? (Assuming qemu
has exposed this feature to guest.) The word "use" means something
like, accessing x2apic registers, setting the x2apic enable bit in
IA32_APICBASE MSR (i.e. bit 10).

-Jidong
--
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