Re: [PATCH v2 3/3] KVM: x86: #GP when attempts to write reserved bits of Variable Range MTRRs

2014-08-31 Thread Wanpeng Li
On Fri, Aug 29, 2014 at 06:47:54PM +0200, Paolo Bonzini wrote: >Il 19/08/2014 11:04, Wanpeng Li ha scritto: >> 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 ex

Re: [PATCH v2 3/3] KVM: x86: #GP when attempts to write reserved bits of Variable Range MTRRs

2014-08-29 Thread Jan Kiszka
On 2014-08-29 18:47, Paolo Bonzini wrote: > Il 19/08/2014 11:04, Wanpeng Li ha scritto: >> 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 soft

Re: [PATCH v2 3/3] KVM: x86: #GP when attempts to write reserved bits of Variable Range MTRRs

2014-08-29 Thread Paolo Bonzini
Il 19/08/2014 11:04, Wanpeng Li ha scritto: > 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 > patc

[PATCH v2 3/3] KVM: x86: #GP when attempts to write reserved bits of Variable Range MTRRs

2014-08-19 Thread Wanpeng Li
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 --- arch/x86

Re: [PATCH v2 3/3] KVM: x86: #GP when attempts to write reserved bits of Variable Range MTRRs

2014-08-19 Thread Paolo Bonzini
Il 19/08/2014 11:04, Wanpeng Li ha scritto: > 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 > patc