On Mon, Jan 11, 2021 at 03:26:57PM +0000, Andrew Cooper wrote: > With the Xen side of this interface fixed to return real sizes, userspace > needs to be able to make the query. > > Introduce xenforeignmemory_resource_size() for the purpose, bumping the > library minor version. > > Update both Linux and FreeBSD's osdep_xenforeignmemory_map_resource() to > understand size requests, skip the mmap() operation, and copy back the > nr_frames field. > > Signed-off-by: Andrew Cooper <[email protected]>
Reviewed-by: Roger Pau Monné <[email protected]> Thanks, Roger.
