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.

Backports part of commit 990e0be2603511560168e1ad61f68294d951c39e from
qemu
This commit is contained in:
Paolo Bonzini 2018-08-02 21:25:37 -04:00 committed by Lioncash
parent 146aa2ba91
commit c5278e71ad
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -1311,6 +1311,7 @@ typedef struct X86CPU {
bool expose_kvm;
bool expose_tcg;
bool migratable;
bool migrate_smi_count;
bool max_features; /* Enable all supported features automatically */
uint32_t apic_id;