aboutsummaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorGravatar Paolo Bonzini <pbonzini@redhat.com> 2014-08-29 18:56:01 +0200
committerGravatar Paolo Bonzini <pbonzini@redhat.com> 2014-08-29 18:56:24 +0200
commitfd2752352bbc98850d83b5448a288d8991590317 (patch)
treea465339e30e3c5416b247f1c54418b77b0d854dc /virt
parentKVM: remove garbage arg to *hardware_{en,dis}able (diff)
downloadlinux-fd2752352bbc98850d83b5448a288d8991590317.tar.gz
linux-fd2752352bbc98850d83b5448a288d8991590317.tar.bz2
linux-fd2752352bbc98850d83b5448a288d8991590317.zip
KVM: x86: use guest maxphyaddr to check MTRR values
The check introduced in commit d7a2a246a1b5 (KVM: x86: #GP when attempts to write reserved bits of Variable Range MTRRs, 2014-08-19) will break if the guest maxphyaddr is higher than the host's (which sometimes happens depending on your hardware and how QEMU is configured). To fix this, use cpuid_maxphyaddr similar to how the APIC_BASE MSR does already. Reported-by: Jan Kiszka <jan.kiszka@siemens.com> Tested-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions