gasp_region_info()

Query information about a guest location

Synopsis:

#include <qvm/gasp.h>
int gasp_region_info(struct guest_system *gsp,
                     const struct qvm_state_block *blk,
                     struct gasp_region *rgn)

Arguments:

gsp
A pointer to a guest system.
blk
A pointer to a qvm_state_block structure with the guest location and range to query.
rgn
A pointer to a gasp_region object where the result can be stored.

Library:

Provided by qvm; no external library is required.

Description:

Use this function to get information about a a guest.

Returns:

EOK for success; otherwise and error.