summaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2010-09-14 15:46:12 (GMT)
committerAvi Kivity <avi@redhat.com>2010-10-24 08:52:55 (GMT)
commit0959ffacf39b1ae7f56072b0c64429ee528100ca (patch)
tree4144335ba89e62522430b04f8436f98958834e7d /arch/x86/include
parent625831a3f40d330c611fe37cf501d80d611921f9 (diff)
downloadlinux-fsl-qoriq-0959ffacf39b1ae7f56072b0c64429ee528100ca.tar.xz
KVM: MMU: Don't track nested fault info in error-code
This patch moves the detection whether a page-fault was nested or not out of the error code and moves it into a separate variable in the fault struct. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 80224bf..519d6f7 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -322,6 +322,7 @@ struct kvm_vcpu_arch {
struct {
u64 address;
unsigned error_code;
+ bool nested;
} fault;
/* only needed in kvm_pv_mmu_op() path, but it's hot so