Structure with the guest system walking state
Synopsis:
#include <qvm/gasp.h>
struct gasp_walk_state {
void* span;
const 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.
- const 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 present and if it was requested (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
- Walk flags (GWS_*).
Library:
Provided by qvm; no external library is required.
Description:
This structure records the current state of a guest address walk (see guest_walk_init() and guest_walk_next().) This information is always in the context of the guest address space.