Updated: October 28, 2024 |
Set address-space regions in the guest system that need to be added, modified, or deleted
#include <qvm/gasp.h>
unsigned gasp_region_set_soft(struct guest_system *gsp, unsigned num_regions, const struct gasp_region *rgn)
You must call gasp_lock() before using this function.
On success, a number indicating how many regions were set successfully; this number is the same as the num_regions passed in. If the call wasn't successful, errno is set and the value returned is an index to the location of the first failure.