diff options
author | Eduardo Habkost | 2014-08-20 22:30:12 +0200 |
---|---|---|
committer | Andreas Färber | 2014-09-05 16:37:06 +0200 |
commit | 4d1b279b0675a8b483a5f101212d1dedfb1a3cec (patch) | |
tree | fe94a05ab1f71dbcf6c88e1b5f4f92710708a011 /hw/xtensa/xtfpga.c | |
parent | exec: Save CPUState::exception_index field (diff) | |
download | qemu-4d1b279b0675a8b483a5f101212d1dedfb1a3cec.tar.gz qemu-4d1b279b0675a8b483a5f101212d1dedfb1a3cec.tar.xz qemu-4d1b279b0675a8b483a5f101212d1dedfb1a3cec.zip |
target-i386: Support migratable=no properly
When the "migratable" property was implemented, the behavior was tested
by changing the default on the code, but actually using the option on
the command-line (e.g. "-cpu host,migratable=false") doesn't work as
expected. This is a regression for a common use case of "-cpu host",
which is to enable features that are supported by the host CPU + kernel
before feature-specific code is added to QEMU.
Fix this by initializing the feature words for "-cpu host" on
x86_cpu_parse_featurestr(), right after parsing the CPU options.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/xtensa/xtfpga.c')
0 files changed, 0 insertions, 0 deletions