diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2010-09-14 17:46:12 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 10:52:55 +0200 |
commit | 0959ffacf39b1ae7f56072b0c64429ee528100ca (patch) | |
tree | 4144335ba89e62522430b04f8436f98958834e7d /arch/x86/include | |
parent | 625831a3f40d330c611fe37cf501d80d611921f9 (diff) | |
download | blackbird-op-linux-0959ffacf39b1ae7f56072b0c64429ee528100ca.tar.gz blackbird-op-linux-0959ffacf39b1ae7f56072b0c64429ee528100ca.zip |
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.h | 1 |
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 80224bf5d4f8..519d6f784984 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 |