qemu/target-i386
Andreas Färber a88a677f54 target-i386: Add range check for -cpu ,family=x
A family field value of 0xf and extended family field value of 0xff is
the maximum representable unsigned family number.
All other CPUID property values are bounds-checked, so add a check here
for symmetry before we adopt it in a property setter.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
2012-04-25 10:51:35 +02:00
..
cpu-qom.h target-i386: QOM'ify CPU 2012-04-10 17:10:27 +02:00
cpu.c target-i386: Add range check for -cpu ,family=x 2012-04-25 10:51:35 +02:00
cpu.h target-i386: Pass X86CPU to cpu_x86_register() 2012-04-25 10:51:35 +02:00
helper_template.h Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
helper.c target-i386: Pass X86CPU to cpu_x86_register() 2012-04-25 10:51:35 +02:00
helper.h target-i386: fix SSE rounding and flush to zero 2012-01-11 09:55:28 +01:00
hyperv.c hyper-v: introduce Hyper-V support infrastructure. 2012-01-19 08:32:12 -02:00
hyperv.h hyperv: fix build on non-KVM hosts 2012-01-23 20:04:51 +00:00
kvm.c target-i386: Don't overuse CPUState 2012-03-14 22:20:25 +01:00
machine.c target-i386: Don't overuse CPUState 2012-03-14 22:20:25 +01:00
op_helper.c Use uintptr_t for various op related functions 2012-04-14 14:23:37 +00:00
ops_sse_header.h tcg: Optionally sign-extend 32-bit arguments for 64-bit hosts. 2010-06-16 11:29:11 +02:00
ops_sse.h target-i386: fix dpps and dppd SSE2 instructions 2012-01-11 09:55:28 +01:00
svm.h Use new macro QEMU_PACKED for packed structures 2011-09-03 10:45:59 +00:00
TODO target-i386: fix {min,max}{pd,ps,sd,ss} SSE2 instructions 2012-01-11 09:55:28 +01:00
translate.c target-i386: Don't overuse CPUState 2012-03-14 22:20:25 +01:00