summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2009-07-05 17:39:37 +0300
committerAvi Kivity <avi@redhat.com>2009-07-05 18:06:51 +0300
commite3d40136a1e3f97b3828e5a4c147487fc5d7aeda (patch)
tree002bb261816f8f241460fbef8d8619591a6a8fe0 /target-i386/helper.c
parentFix migration with virtio-net version > 7 (diff)
downloadqemu-kvm-e3d40136a1e3f97b3828e5a4c147487fc5d7aeda.tar.gz
qemu-kvm-e3d40136a1e3f97b3828e5a4c147487fc5d7aeda.tar.bz2
qemu-kvm-e3d40136a1e3f97b3828e5a4c147487fc5d7aeda.zip
Add X2APIC support.
Add "x2apic" string to extended features name array to be recognizable by -cpu cputype,+x2apic command line option. If kvm kernel module does not support x2apic the option will be trimmed from cpuid. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r--target-i386/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c
index d76c2246b..87c04e541 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -45,7 +45,7 @@ static const char *feature_name[] = {
static const char *ext_feature_name[] = {
"pni" /* Intel,AMD sse3 */, NULL, NULL, "monitor", "ds_cpl", "vmx", NULL /* Linux smx */, "est",
"tm2", "ssse3", "cid", NULL, NULL, "cx16", "xtpr", NULL,
- NULL, NULL, "dca", NULL, NULL, NULL, NULL, "popcnt",
+ NULL, NULL, "dca", NULL, NULL, "x2apic", NULL, "popcnt",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, "hypervisor",
};
static const char *ext2_feature_name[] = {