commit | d7a2a246a1b5a0b0c803e800019600051e1e6f1a | [log] [tgz] |
---|---|---|
author | Wanpeng Li <wanpeng.li@linux.intel.com> | Tue Aug 19 17:04:40 2014 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Aug 19 15:12:29 2014 +0200 |
tree | 6702c15304c2ff216987c809dd787800ca13d22c | |
parent | adfb5d2746bfbe692324bd26a6de05a3a036b38e [diff] |
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>