aboutsummaryrefslogtreecommitdiff
path: root/balloon.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2016-06-06 17:16:44 +0200
committerEduardo Habkost <ehabkost@redhat.com>2016-06-14 16:17:09 -0300
commitdc15c0517b010a9444a2c05794dae980f2a2cbd9 (patch)
tree8e40faa2dfd7499aa6bde438647561181c516f1d /balloon.c
parentc19b85216b5d47d922ac010931d4c7b2d79b2f68 (diff)
target-i386: Move features logic that requires CPUState to realize time
Making x86_cpu_parse_featurestr() a pure convertor of legacy feature string into global properties, needs it to be called before a CPU instance is created so parser shouldn't modify CPUState directly or access it at all. Hence move current hack that directly pokes into CPUState, to set/unset +-feats, from parser to CPU's realize method. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'balloon.c')
0 files changed, 0 insertions, 0 deletions