diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2016-07-08 16:01:38 +0100 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2016-07-20 11:58:44 -0300 |
commit | fcc35e7ccaed771790940524f3b0eef7aebfc9b1 (patch) | |
tree | a7c362ddab34d051a7e5da9e97b149935b6f1cb9 /target-i386/cpu.c | |
parent | 112dad69d723a68205f255dd46d78871b5c5a8ca (diff) |
target-i386: Fill high bits of mtrr mask
Fill the bits between 51..number-of-physical-address-bits in the
MTRR_PHYSMASKn variable range mtrr masks so that they're consistent
in the migration stream irrespective of the physical address space
of the source VM in a migration.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target-i386/cpu.c')
-rw-r--r-- | target-i386/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 669180e3fe..5ac7e975ad 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -3328,6 +3328,7 @@ static Property x86_cpu_properties[] = { DEFINE_PROP_BOOL("enforce", X86CPU, enforce_cpuid, false), DEFINE_PROP_BOOL("kvm", X86CPU, expose_kvm, true), DEFINE_PROP_UINT32("phys-bits", X86CPU, phys_bits, 0), + DEFINE_PROP_BOOL("fill-mtrr-mask", X86CPU, fill_mtrr_mask, true), DEFINE_PROP_UINT32("level", X86CPU, env.cpuid_level, 0), DEFINE_PROP_UINT32("xlevel", X86CPU, env.cpuid_xlevel, 0), DEFINE_PROP_UINT32("xlevel2", X86CPU, env.cpuid_xlevel2, 0), |