Map a guest physical address range into the qvm process address space for virtual hardware access
#include <qvm/gasp.h>
void* gasp_map_contig(const vdev_t *vdev,
int prot,
uint64_t *ppaddr,
size_t *plength)
Use this function instead of gasp_map_vdma() when you must obtain information about the host-physical addresses.
Call gasp_unmap() to unmap the address range.
A qvm process pointer that maps the guest physical address, or NULL if unsuccessful.