Re: [PATCH 5/5] tools/foreignmem: Support querying the size of a resource

2020-08-04 Thread Wei Liu
On Tue, Jul 28, 2020 at 03:14:39PM +0100, Andrew Cooper wrote: > On 28/07/2020 12:37, 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, bumpin

RE: [PATCH 5/5] tools/foreignmem: Support querying the size of a resource

2020-07-30 Thread Paul Durrant
> -Original Message- > From: Andrew Cooper > Sent: 28 July 2020 12:37 > To: Xen-devel > Cc: Andrew Cooper ; Ian Jackson > ; Wei Liu > ; Paul Durrant ; Michał Leszczyński > ; Hubert > Jasudowicz > Subject: [PATCH 5/5] tools/foreignmem: Support querying th

Re: [PATCH 5/5] tools/foreignmem: Support querying the size of a resource

2020-07-28 Thread Andrew Cooper
On 28/07/2020 12:37, 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 and providing compatiblity for the non-Linu

[PATCH 5/5] tools/foreignmem: Support querying the size of a resource

2020-07-28 Thread Andrew Cooper
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 and providing compatiblity for the non-Linux builds. Its not possible to reuse the IOCTL_PRIV