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