gasp_region

Description of a guest resource

Synopsis:

#include <qvm/types.h>
struct gasp_region {
    gasp_region_flags_t grf_flags;
    uint32_t cookie;
    vdev_t* vdev;
    uint64_t host_location;
    struct qvm_state_block guest;
};

Data:

gasp_region_flags_t grf_flags
A bitset of GRF_* flags.
uint32_t cookie
A cookie that is passed back to the vdev vread and vwrite routines.
vdev_t* vdev
The value passed back in the vdev callback; this is used only if any GRF_VIRT_* flags are set.
uint64_t host_location
The location where the region should map to on the host system.
struct qvm_state_block guest
The location where the region should appear in the guest system.
Page updated: