]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Fill high bits of mtrr mask
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 8 Jul 2016 15:01:38 +0000 (16:01 +0100)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 20 Jul 2016 14:58:44 +0000 (11:58 -0300)
commitfcc35e7ccaed771790940524f3b0eef7aebfc9b1
treea7c362ddab34d051a7e5da9e97b149935b6f1cb9
parent112dad69d723a68205f255dd46d78871b5c5a8ca
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>
include/hw/i386/pc.h
target-i386/cpu.c
target-i386/cpu.h
target-i386/kvm.c