Re: [Discussion] Xen grants and access permissions

2023-02-21 Thread Viresh Kumar
On 20-02-23, 07:13, Juergen Gross wrote: > There are no permission flags in Xen PV device protocols either. The kind of a > mapping (RO or RW) in the backend is selected via the I/O operation: in case > it > is a write type operation (guest writing data to a device), the related grants > are mappe

Re: [Discussion] Xen grants and access permissions

2023-02-19 Thread Juergen Gross
On 19.02.23 17:44, Oleksandr Tyshchenko wrote: Hello Viresh. [CCed Jürgen who might have some thoughts] [Sorry for the possible format issues] On Thu, Feb 16, 2023 at 1:36 PM Andrew Cooper > wrote: On 16/02/2023 11:13 am, Viresh Kumar wrote: > Hi Ole

Re: [Discussion] Xen grants and access permissions

2023-02-19 Thread Oleksandr Tyshchenko
Hello Viresh. [CCed Jürgen who might have some thoughts] [Sorry for the possible format issues] On Thu, Feb 16, 2023 at 1:36 PM Andrew Cooper wrote: > On 16/02/2023 11:13 am, Viresh Kumar wrote: > > Hi Oleksandr, > > > > As you already know, I am looking at how we can integrate the Xen > > gran

Re: [Discussion] Xen grants and access permissions

2023-02-16 Thread Andrew Cooper
On 16/02/2023 11:13 am, Viresh Kumar wrote: > Hi Oleksandr, > > As you already know, I am looking at how we can integrate the Xen > grants work in our implementation of Rust based Xen vhost frontend [1]. > > The hypervisor independent vhost-user backends [2] talk to > xen-vhost-frontend using the s

[Discussion] Xen grants and access permissions

2023-02-16 Thread Viresh Kumar
Hi Oleksandr, As you already know, I am looking at how we can integrate the Xen grants work in our implementation of Rust based Xen vhost frontend [1]. The hypervisor independent vhost-user backends [2] talk to xen-vhost-frontend using the standard vhost-user protocol [3]. Every memory region tha