]> Git Repo - qemu.git/commit
target-i386: Add range check for -cpu ,family=x
authorAndreas Färber <[email protected]>
Tue, 17 Apr 2012 14:15:15 +0000 (16:15 +0200)
committerAndreas Färber <[email protected]>
Wed, 25 Apr 2012 08:51:35 +0000 (10:51 +0200)
commita88a677f54e855c0453f06e0347904e4144e1c2b
tree903d68a28434f3ed2c9d040f14b2a20e3f3cca87
parent61dcd775785b07a5e0c3858b67aa356b87543710
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 <[email protected]>
Reviewed-by: Eduardo Habkost <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
target-i386/cpu.c
This page took 0.022098 seconds and 4 git commands to generate.