]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBackupPrepare: Actually allow 'VIR_STORAGE_NET_HOST_TRANS_FD'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 14 May 2025 15:53:13 +0000 (17:53 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 20 May 2025 05:35:54 +0000 (07:35 +0200)
commit3d05fe7aa31e58ec8a7286ccc9524638a7741326
tree958238a742401a39de484fd96b03c5a07021b7d0
parent16c4fa9f829e5faad0814d3cb1952e8f5e007cc6
qemuBackupPrepare: Actually allow 'VIR_STORAGE_NET_HOST_TRANS_FD'

While I've actually implemented support for FD passing the NBD server
socket in eb768a556db I managed to misplace the hunk allowing the 'FD'
transport in the validation code, rendering the whole feature useless.

Fix the validation logic to make the feature usable.

Fixes: eb768a556db75040f7b518d198a18bd0f5d6faad
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_backup.c