summaryrefslogtreecommitdiffstats
path: root/lib/libvmmapi/vmmapi.c
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2012-10-04 03:07:05 +0000
committerneel <neel@FreeBSD.org>2012-10-04 03:07:05 +0000
commit09939583a708e1199d76573009937c49606d19e5 (patch)
tree8652ba823a090652d210b531554b6bb1e123bfd8 /lib/libvmmapi/vmmapi.c
parent18dd2c0d511c600e708ac8f756e8e51151b43656 (diff)
downloadFreeBSD-src-09939583a708e1199d76573009937c49606d19e5.zip
FreeBSD-src-09939583a708e1199d76573009937c49606d19e5.tar.gz
The ioctl VM_GET_MEMORY_SEG is no longer able to return the host physical
address associated with the guest memory segment. This is because there is no longer a 1:1 mapping between GPA and HPA. As a result 'vmmctl' can only display the guest physical address and the length of the lowmem and highmem segments.
Diffstat (limited to 'lib/libvmmapi/vmmapi.c')
-rw-r--r--lib/libvmmapi/vmmapi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libvmmapi/vmmapi.c b/lib/libvmmapi/vmmapi.c
index 8364dd5..e083fde 100644
--- a/lib/libvmmapi/vmmapi.c
+++ b/lib/libvmmapi/vmmapi.c
@@ -143,8 +143,7 @@ vmm_get_mem_free(void)
}
int
-vm_get_memory_seg(struct vmctx *ctx, vm_paddr_t gpa,
- vm_paddr_t *ret_hpa, size_t *ret_len)
+vm_get_memory_seg(struct vmctx *ctx, vm_paddr_t gpa, size_t *ret_len)
{
int error;
struct vm_memory_segment seg;
OpenPOWER on IntegriCloud