Description of a guest resource
#include <qvm/types.h>
struct gasp_region {
uint32_t flags;
uint32_t cookie;
vdev_t* vdev;
uint64_t host_location;
struct qvm_state_block guest;
} ;
A bitset of values from gasp_region_flags.
Cookie that is passed back to the vdev vread and vwrite routines.
Only used if one or more of GRF_VIRT_* flags is set, value passed back in the vdev callbacks.
Where the region should map to on the host system.
Where the region should appear in the guest system.