]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
KVM: x86: #GP when attempts to write reserved bits of Variable Range MTRRs
authorWanpeng Li <wanpeng.li@linux.intel.com>
Tue, 19 Aug 2014 09:04:40 +0000 (17:04 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Aug 2014 13:12:29 +0000 (15:12 +0200)
commitd7a2a246a1b5a0b0c803e800019600051e1e6f1a
tree6702c15304c2ff216987c809dd787800ca13d22c
parentadfb5d2746bfbe692324bd26a6de05a3a036b38e
KVM: x86: #GP when attempts to write reserved bits of Variable Range MTRRs

Section 11.11.2.3 of the SDM mentions "All other bits in the IA32_MTRR_PHYSBASEn
and IA32_MTRR_PHYSMASKn registers are reserved; the processor generates a
general-protection exception(#GP) if software attempts to write to them". This
patch do it in kvm.

Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c