[Qemu-devel] [Patch V2 2/2] x86, mce: Need to translate GPA to HPA to inject error in guest.

2015-12-10 Thread Ashok Raj
From: Gong Chen When we need to test error injection to a specific address using EINJ, there needs to be a way to translate GPA to HPA. This will allow host EINJ to inject error to test how guest behavior is when a bad address is consumed. This permits guest OS to perform its own recovery. Signe

[Qemu-devel] [Patch V2 1/2] x86, mce: Basic support to add LMCE support to QEMU

2015-12-10 Thread Ashok Raj
S has opted in to Local delivery. Signed-off-by: Ashok Raj Tested-by: Gong Chen --- Resending with proper commit message for second patch target-i386/cpu.c | 8 target-i386/cpu.h | 8 ++-- target-i386/kvm.c | 38 +++--- 3 files changed, 45 inser

[Qemu-devel] [Patch V0 2/2] x86, mce: Need to translate GPA to HPA to inject error in guest.

2015-12-10 Thread Ashok Raj
From: root When we need to test error injection to a specific address using EINJ, there needs to be a way to translate GPA to HPA. This will allow host EINJ to inject error to test how guest behavior is when a bad address is consumed. This permits guest OS to perform its own recovery. Signed-off

[Qemu-devel] [Patch V1 1/2] x86, mce: Basic support to add LMCE support to QEMU

2015-12-10 Thread Ashok Raj
d-by: Andi Kleen Signed-off-by: Ashok Raj Tested-by: Gong Chen --- V2 patchset: Removed a line based on Paolo's suggestion. Gong verified the new patch works. target-i386/cpu.c | 8 target-i386/cpu.h | 8 ++-- target-i386/kvm.c | 38 +++---

[Qemu-devel] [Patch V0] This patch adds some support required for KVM in order to support LMCE.

2015-12-09 Thread Ashok Raj
: Ashok Raj --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/vmx.c | 26 +- arch/x86/kvm/x86.c | 17 - 3 files changed, 38 insertions(+), 6 deletions(-) diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm

[Qemu-devel] [Patch V0] x86, mce: Basic support to add LMCE support to QEMU

2015-12-09 Thread Ashok Raj
S has opted in to Local delivery. Signed-off-by: Ashok Raj Tested-by: Gong Chen --- target-i386/cpu.c | 8 target-i386/cpu.h | 8 ++-- target-i386/kvm.c | 39 --- 3 files changed, 46 insertions(+), 9 deletions(-) diff --git a/target-i386/cp