diff options
author | neel <neel@FreeBSD.org> | 2012-10-03 00:46:30 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2012-10-03 00:46:30 +0000 |
commit | 3e50e0220bcda77b0a8e06a5f6095a206368e01b (patch) | |
tree | b84b43d3aeadade6200d9e500aa3fe063b4e7aac /sys/amd64/vmm/intel/vmx.c | |
parent | c17623c804ffef4eb832614f4e0c8806e8a06696 (diff) | |
download | FreeBSD-src-3e50e0220bcda77b0a8e06a5f6095a206368e01b.zip FreeBSD-src-3e50e0220bcda77b0a8e06a5f6095a206368e01b.tar.gz |
Get rid of assumptions in the hypervisor that the host physical memory
associated with guest physical memory is contiguous.
Rewrite vm_gpa2hpa() to get the GPA to HPA mapping by querying the nested
page tables.
Diffstat (limited to 'sys/amd64/vmm/intel/vmx.c')
-rw-r--r-- | sys/amd64/vmm/intel/vmx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/vmm/intel/vmx.c b/sys/amd64/vmm/intel/vmx.c index a2c8e76..3fbe5a1 100644 --- a/sys/amd64/vmm/intel/vmx.c +++ b/sys/amd64/vmm/intel/vmx.c @@ -1813,7 +1813,8 @@ struct vmm_ops vmm_ops_intel = { vmx_vminit, vmx_run, vmx_vmcleanup, - ept_vmmmap, + ept_vmmmap_set, + ept_vmmmap_get, vmx_getreg, vmx_setreg, vmx_getdesc, |