gasp_region_set()

Set regions in the guest system that need to be added, modified or deleted

Synopsis:

#include <qvm/gasp.h>
void gasp_region_set(struct guest_system *gsp,
                     unsigned num_regions,
                     const struct gasp_region *rgn)

Arguments:

gsp
A pointer to the guest system.
num_regions
The number of regions to set.
rgn
A pointer to an array of region structures.

Library:

Provided by qvm; no external library is required.

Description:

This function is like gasp_region_set_soft(), with the difference that a fatal error will cause the function to terminate the running process (i.e., the qvm process instance with the vdev that called the function). To not terminate the running process on a fatal error, use gasp_region_set_soft().