Re: [PATCH RFC v2 01/16] vfio-user: introduce vfio-user protocol specification

2021-08-19 Thread Alex Williamson
On Thu, 19 Aug 2021 15:32:16 + John Johnson wrote: > > On Aug 17, 2021, at 7:04 PM, Alex Williamson > > wrote: > > > > > > The address/size paradigm falls into the same issues as the vfio kernel > > interface where we can't map or unmap the entire 64-bit address space, > > ie. size is lim

Re: [PATCH RFC v2 01/16] vfio-user: introduce vfio-user protocol specification

2021-08-19 Thread John Johnson
> On Aug 17, 2021, at 7:04 PM, Alex Williamson > wrote: > > > The address/size paradigm falls into the same issues as the vfio kernel > interface where we can't map or unmap the entire 64-bit address space, > ie. size is limited to 2^64 - 1. The kernel interface also requires > PAGE_SIZE gra

Re: [PATCH RFC v2 01/16] vfio-user: introduce vfio-user protocol specification

2021-08-19 Thread Swapnil Ingle
On 18. Aug 2021, at 01:04, Alex Williamson mailto:alex.william...@redhat.com>> wrote: On Mon, 16 Aug 2021 09:42:34 -0700 Elena Ufimtseva mailto:elena.ufimts...@oracle.com>> wrote: +Authentication +-- + +For ``AF_UNIX``, we rely on OS mandatory access controls on the socket files, +

Re: [PATCH RFC v2 01/16] vfio-user: introduce vfio-user protocol specification

2021-08-17 Thread Alex Williamson
On Mon, 16 Aug 2021 09:42:34 -0700 Elena Ufimtseva wrote: > +Authentication > +-- > + > +For ``AF_UNIX``, we rely on OS mandatory access controls on the socket files, > +therefore it is up to the management layer to set up the socket as required. > +Socket types than span guests or hos

[PATCH RFC v2 01/16] vfio-user: introduce vfio-user protocol specification

2021-08-16 Thread Elena Ufimtseva
From: Thanos Makatos This patch introduces the vfio-user protocol specification (formerly known as VFIO-over-socket), which is designed to allow devices to be emulated outside QEMU, in a separate process. vfio-user reuses the existing VFIO defines, structs and concepts. This patch is sourced fro