Re: [libvirt PATCH 2/5] qemu: add virtio-blk-vhost-vdpa capability

2023-06-08 Thread Peter Krempa
On Thu, Jun 08, 2023 at 11:00:03 +0200, Peter Krempa wrote: > On Tue, Jun 06, 2023 at 16:11:01 -0500, Jonathon Jongsma wrote: > > Check whether the qemu binary supports the vdpa block driver. We can't > > rely simply on the existence of the virtio-blk-vhost-vdpa block driver > > since the first rel

Re: [libvirt PATCH 2/5] qemu: add virtio-blk-vhost-vdpa capability

2023-06-08 Thread Peter Krempa
On Tue, Jun 06, 2023 at 16:11:01 -0500, Jonathon Jongsma wrote: > Check whether the qemu binary supports the vdpa block driver. We can't > rely simply on the existence of the virtio-blk-vhost-vdpa block driver > since the first releases of qemu didn't support fd-passing for this > driver. So we hav

[libvirt PATCH 2/5] qemu: add virtio-blk-vhost-vdpa capability

2023-06-06 Thread Jonathon Jongsma
Check whether the qemu binary supports the vdpa block driver. We can't rely simply on the existence of the virtio-blk-vhost-vdpa block driver since the first releases of qemu didn't support fd-passing for this driver. So we have to check for the 'fdset' feature on the driver object. This feature wi