summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorEduardo Habkost2014-02-19 15:58:12 +0100
committerAndreas Färber2014-03-13 19:01:49 +0100
commitef02ef5f4536dba090b12360a6c862ef0e57e3bc (patch)
tree154e65257df6cb8deaa2bb9fc18cd792fa7680bf /include/exec
parenttarget-i386: Introduce x86_cpu_compat_disable_kvm_features() (diff)
downloadqemu-ef02ef5f4536dba090b12360a6c862ef0e57e3bc.tar.gz
qemu-ef02ef5f4536dba090b12360a6c862ef0e57e3bc.tar.xz
qemu-ef02ef5f4536dba090b12360a6c862ef0e57e3bc.zip
target-i386: Enable x2apic by default on KVM
When on KVM mode, enable x2apic by default on all CPU models. Normally we try to keep the CPU model definitions as close as the real CPUs as possible, but x2apic can be emulated by KVM without host CPU support for x2apic, and it improves performance by reducing APIC access overhead. x2apic emulation is available on KVM since 2009 (Linux 2.6.32-rc1), there's no reason for not enabling x2apic by default when running KVM. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions