Updated: October 28, 2024 |
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.
Value passed back in the vdev callback; this is used only if one or more GRF_VIRT_* flags is set.
Location where the region should map to on the host system.
Location where the region should appear in the guest system.