Find a free memory space from a guest system's RAM/ROM regions
#include <qvm/gasp.h>
static uint64_t gram_find_free(struct guest_system *const gsp, uint64_t const size, uint64_t const align, unsigned const flags)
This function calls gram_reserve() on the region it returns, so you don't need to do that.
The location of the free space, or QSL_NO_LOCATION if no space is available.