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
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
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
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 +++---
: 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
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