gasp_walk_state

Structure with the guest system's walk state

Synopsis:

#include <qvm/gasp.h>
struct gasp_walk_state {
    void* span;
    struct guest_system* gsp;
    uint64_t guest_loc;
    uint64_t host_loc;
    uint64_t length;
    uint64_t max_length;
    unsigned flags;
} ;

Data:

void* span
Private state field.
struct guest_system* gsp
Guest system pointer.
uint64_t guest_loc
Start address of the region in the guest-physical address space.
uint64_t host_loc
Start address of the region in the host-physical address space, if it is present and was requested (i.e., the GWS_HOST flag is set).
uint64_t length
Length of the region, in bytes.
uint64_t max_length
Maximum allowed length for the region, in bytes.
unsigned flags
Flags specifying the address space information to be returned; see gasp_walk_state_flags.

Description:

This structure records the current state of a guest address walk (see gasp_walk_init() and gasp_walk_next() for details). This information is always in the context of the guest address space.