Re: [PATCH 0/4] Allow to pass pre-created VFIO container/group to QEMU

2022-10-26 Thread Alex Williamson
On Wed, 26 Oct 2022 15:07:32 +0300 Andrey Ryabinin wrote: > On 10/17/22 18:21, Alex Williamson wrote: > > On Mon, 17 Oct 2022 13:54:03 +0300 > > Andrey Ryabinin wrote: > > > >> These patches add possibility to pass VFIO device to QEMU using file > >> descriptors of VFIO container/group, inste

Re: [PATCH 0/4] Allow to pass pre-created VFIO container/group to QEMU

2022-10-26 Thread Andrey Ryabinin
On 10/17/22 18:21, Alex Williamson wrote: > On Mon, 17 Oct 2022 13:54:03 +0300 > Andrey Ryabinin wrote: > >> These patches add possibility to pass VFIO device to QEMU using file >> descriptors of VFIO container/group, instead of creating those by QEMU. >> This allows to take away permissions t

Re: [PATCH 0/4] Allow to pass pre-created VFIO container/group to QEMU

2022-10-26 Thread Andrey Ryabinin
On 10/17/22 14:05, Daniel P. Berrangé wrote: > On Mon, Oct 17, 2022 at 01:54:03PM +0300, Andrey Ryabinin wrote: >> These patches add possibility to pass VFIO device to QEMU using file >> descriptors of VFIO container/group, instead of creating those by QEMU. >> This allows to take away permissions

Re: [PATCH 0/4] Allow to pass pre-created VFIO container/group to QEMU

2022-10-17 Thread Alex Williamson
On Mon, 17 Oct 2022 13:54:03 +0300 Andrey Ryabinin wrote: > These patches add possibility to pass VFIO device to QEMU using file > descriptors of VFIO container/group, instead of creating those by QEMU. > This allows to take away permissions to open /dev/vfio/* from QEMU and > delegate that to ma

Re: [PATCH 0/4] Allow to pass pre-created VFIO container/group to QEMU

2022-10-17 Thread Daniel P . Berrangé
On Mon, Oct 17, 2022 at 01:54:03PM +0300, Andrey Ryabinin wrote: > These patches add possibility to pass VFIO device to QEMU using file > descriptors of VFIO container/group, instead of creating those by QEMU. > This allows to take away permissions to open /dev/vfio/* from QEMU and > delegate that

[PATCH 0/4] Allow to pass pre-created VFIO container/group to QEMU

2022-10-17 Thread Andrey Ryabinin
These patches add possibility to pass VFIO device to QEMU using file descriptors of VFIO container/group, instead of creating those by QEMU. This allows to take away permissions to open /dev/vfio/* from QEMU and delegate that to managment layer like libvirt. The VFIO API doen't allow to pass just