]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: hotplug: Setup host side of VDPA device for disk hotplug
authorPeter Krempa <pkrempa@redhat.com>
Thu, 26 Oct 2023 13:12:35 +0000 (15:12 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 27 Oct 2023 13:04:20 +0000 (15:04 +0200)
commit98dd641e863de18c71fbd07085850587b404e6d0
tree02ebc42533dc1297a042b17c02059ae61c6b2b93
parent61baeb1152f9d8ed13bef1f71fdc9feab5481057
qemu: hotplug: Setup host side of VDPA device for disk hotplug

The code which opens the VDPA device and prepares it for FD passing was
not called in the hotplug code path, preventing hotplug of VDPA disks
with:

 error: internal error: argument key 'path' must not have null value

Use the new helper qemuProcessPrepareHostStorageDisk to setup the VDPA
definition.

Closes: https://gitlab.com/libvirt/libvirt/-/issues/539
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_hotplug.c