gasp_walk_state_t

Data type for storing the guest system's walk state

Synopsis:

#include <qvm/gasp.h>
typedef struct {
    void* gw_span;
    uint64_t gw_guest_loc;
    uint64_t gw_host_loc;
    uint64_t gw_length;
    uint64_t gw_max_length;
    gasp_walk_flags_t gwf_flags;
} gasp_walk_state_t;

Data:

void* gw_span
A private state field.
uint64_t gw_guest_loc
The start address of the region in the guest-physical address space.
uint64_t gw_host_loc
The start address of the region in the host-physical address space, if it is present and is requested (i.e., the GWS_HOST flag is set).
uint64_t gw_length
The length of the region, in bytes.
uint64_t gw_max_length
The maximum allowed length for the region, in bytes.
gasp_walk_flags_t gwf_flags
A combination of GWF_* flags specifying the address space information that's needed.

Description:

The gasp_walk_state_t data type is used to store the current state of a guest memory address walk (see gasp_walk_init() and gasp_walk_next() for details). This information is always in the context of the guest address space.

Page updated: