summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRadim Krčmář <rkrcmar@redhat.com>2015-08-04 16:17:21 +0200
committerEduardo Habkost <ehabkost@redhat.com>2015-08-04 12:49:32 -0300
commit27751aabd1e0359d84314bc230beccdef2168d1f (patch)
tree7f0ee14a15217031aaf5a266e51b56b538c2fe97 /include
parent426d0e7b7e031a1592292b3eb275483b341a2f28 (diff)
downloadhqemu-27751aabd1e0359d84314bc230beccdef2168d1f.zip
hqemu-27751aabd1e0359d84314bc230beccdef2168d1f.tar.gz
target-i386: fix IvyBridge xlevel in PC_COMPAT_2_3
Previous patch changed xlevel and missed the compatibility code. Fixes: 3046bb5debc8 ("target-i386: emulate CPUID level of real hardware") Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/i386/pc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index c416574..954203d 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -351,6 +351,10 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
.property = "xlevel",\
.value = stringify(0x8000000a),\
},{\
+ .driver = "IvyBridge" "-" TYPE_X86_CPU,\
+ .property = "xlevel",\
+ .value = stringify(0x8000000a),\
+ },{\
.driver = "Haswell" "-" TYPE_X86_CPU,\
.property = "xlevel",\
.value = stringify(0x8000000a),\
OpenPOWER on IntegriCloud