diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-07-24 13:59:21 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-07-30 14:00:11 +0200 |
commit | 990e0be2603511560168e1ad61f68294d951c39e (patch) | |
tree | 49b19e5d7dc29407930e746efe46f676dacd645e /target/i386/cpu.c | |
parent | 6d9dd5fb9d0e9f4a174f53a0e20a39fbe809c71e (diff) | |
download | qemu-990e0be2603511560168e1ad61f68294d951c39e.zip qemu-990e0be2603511560168e1ad61f68294d951c39e.tar.gz qemu-990e0be2603511560168e1ad61f68294d951c39e.tar.bz2 |
i386: do not migrate MSR_SMI_COUNT on machine types <2.12
MSR_SMI_COUNT started being migrated in QEMU 2.12. Do not migrate it
on older machine types, or the subsection causes a load failure for
guests that use SMM.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/cpu.c')
-rw-r--r-- | target/i386/cpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c index f454d4b..723e022 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -5435,6 +5435,8 @@ static Property x86_cpu_properties[] = { false), DEFINE_PROP_BOOL("vmware-cpuid-freq", X86CPU, vmware_cpuid_freq, true), DEFINE_PROP_BOOL("tcg-cpuid", X86CPU, expose_tcg, true), + DEFINE_PROP_BOOL("x-migrate-smi-count", X86CPU, migrate_smi_count, + true), /* * lecacy_cache defaults to true unless the CPU model provides its * own cache information (see x86_cpu_load_def()). |