i386: Make arch_capabilities migratable

Now that kvm_arch_get_supported_cpuid() will only return
arch_capabilities if QEMU is able to initialize the MSR properly,
we know that the feature is safely migratable.

Backports commit 014018e19b3c54dd1bf5072bc912ceffea40abe8 from qemu
This commit is contained in:
Eduardo Habkost 2019-03-22 09:45:30 -04:00 committed by Lioncash
parent db02d0b733
commit a71df717c9
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -892,7 +892,6 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
.reg = R_EDX, .reg = R_EDX,
}, },
.tcg_features = TCG_7_0_EDX_FEATURES, .tcg_features = TCG_7_0_EDX_FEATURES,
.unmigratable_flags = CPUID_7_0_EDX_ARCH_CAPABILITIES,
}, },
/* Feature names that are already defined on feature_name[] but /* Feature names that are already defined on feature_name[] but
* are set on CPUID[8000_0001].EDX on AMD CPUs don't have their * are set on CPUID[8000_0001].EDX on AMD CPUs don't have their