summaryrefslogtreecommitdiff
path: root/hw/i386/kvmvapic.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2012-12-14 01:29:56 +0100
committerAndreas Färber <afaerber@suse.de>2013-12-24 13:47:25 +0100
commitd024d209045b912eb6127861fab2af6c64880efd (patch)
treef6c4e42cc6e3115ca6fa54ce9c9bd967167d4000 /hw/i386/kvmvapic.c
parent258f5abe9a8786c410f98367e9e042ee16c249f2 (diff)
downloadqemu-d024d209045b912eb6127861fab2af6c64880efd.zip
target-i386: Cleanup 'foo=val' feature handling
Features family, model, stepping, level, hv_spinlocks are treated similarly when passed from command line, so it's not necessary to handle each of them individually. Collapse them to one catch-all branch which will treat any not explicitly handled feature in format 'foo=val'. Any unknown feature will be rejected by property setter so there is no need to check for unknown feature in cpu_x86_parse_featurestr(), therefore it's replaced by above mentioned catch-all handler. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/i386/kvmvapic.c')
0 files changed, 0 insertions, 0 deletions