Skip to content

Commit

Permalink
target-i386: fix IvyBridge xlevel in PC_COMPAT_2_3
Browse files Browse the repository at this point in the history
Previous patch changed xlevel and missed the compatibility code.

Fixes: 3046bb5 ("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>
  • Loading branch information
rkrcmar authored and ehabkost committed Aug 4, 2015
1 parent 426d0e7 commit 27751aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/hw/i386/pc.h
Expand Up @@ -350,6 +350,10 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
.driver = "SandyBridge" "-" TYPE_X86_CPU,\
.property = "xlevel",\
.value = stringify(0x8000000a),\
},{\
.driver = "IvyBridge" "-" TYPE_X86_CPU,\
.property = "xlevel",\
.value = stringify(0x8000000a),\
},{\
.driver = "Haswell" "-" TYPE_X86_CPU,\
.property = "xlevel",\
Expand Down

0 comments on commit 27751aa

Please sign in to comment.