summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2012-11-28 13:34:44 +0000
committerneel <neel@FreeBSD.org>2012-11-28 13:34:44 +0000
commitda4e87dfd614fffb88e5a93c988e1caec9c9efe7 (patch)
tree8478d32c190158cb294c8e9b16471656d6b287f6 /sys/amd64
parent308122a0f1279a0305554f864d6b01f9c132511a (diff)
downloadFreeBSD-src-da4e87dfd614fffb88e5a93c988e1caec9c9efe7.zip
FreeBSD-src-da4e87dfd614fffb88e5a93c988e1caec9c9efe7.tar.gz
Cleanup the user-space paging exit handler now that the unified instruction
emulation is in place. Obtained from: NetApp
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/include/vmm.h2
-rw-r--r--sys/amd64/vmm/intel/vmx.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/amd64/include/vmm.h b/sys/amd64/include/vmm.h
index 2fb2194..024c30e 100644
--- a/sys/amd64/include/vmm.h
+++ b/sys/amd64/include/vmm.h
@@ -267,9 +267,7 @@ struct vm_exit {
uint32_t eax; /* valid for out */
} inout;
struct {
- uint64_t cr3;
uint64_t gpa;
- int rwx;
struct vie vie;
} paging;
/*
diff --git a/sys/amd64/vmm/intel/vmx.c b/sys/amd64/vmm/intel/vmx.c
index af4a03f..2b6ef35 100644
--- a/sys/amd64/vmm/intel/vmx.c
+++ b/sys/amd64/vmm/intel/vmx.c
@@ -1303,9 +1303,7 @@ vmx_exit_process(struct vmx *vmx, int vcpu, struct vm_exit *vmexit)
cr3, qual, &vmexit->u.paging.vie);
if (!handled) {
vmexit->exitcode = VM_EXITCODE_PAGING;
- vmexit->u.paging.cr3 = cr3;
vmexit->u.paging.gpa = gpa;
- vmexit->u.paging.rwx = qual & 0x7;
}
break;
default:
OpenPOWER on IntegriCloud