Add the guest physical address and r/w/x bits to
the paging exit in preparation for a rework of bhyve MMIO handling. Reviewed by: neel Obtained from: NetApp
This commit is contained in:
parent
3019332f6d
commit
13ec93719a
@ -266,6 +266,8 @@ struct vm_exit {
|
||||
} inout;
|
||||
struct {
|
||||
uint64_t cr3;
|
||||
uint64_t gpa;
|
||||
int rwx;
|
||||
} paging;
|
||||
/*
|
||||
* VMX specific payload. Used when there is no "better"
|
||||
|
@ -1289,6 +1289,8 @@ vmx_exit_process(struct vmx *vmx, int vcpu, struct vm_exit *vmexit)
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user