diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-08-29 18:56:01 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-08-29 18:56:24 +0200 |
commit | fd2752352bbc98850d83b5448a288d8991590317 (patch) | |
tree | a465339e30e3c5416b247f1c54418b77b0d854dc /virt | |
parent | 13a34e067eab24fec882e1834fbf2cc31911d474 (diff) | |
download | linux-stable-fd2752352bbc98850d83b5448a288d8991590317.tar.gz linux-stable-fd2752352bbc98850d83b5448a288d8991590317.tar.bz2 linux-stable-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