]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Handle FD passing commandline via qemuBuildBlockStorageSourceAttachDat...
authorPeter Krempa <pkrempa@redhat.com>
Tue, 31 Jan 2023 13:37:40 +0000 (14:37 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 1 Feb 2023 08:17:41 +0000 (09:17 +0100)
commit65f14232fb031b57fad085a2e8792da87c97173f
tree9b0e7c4e2655b02cda24061b7db888b091683709
parent531adf32743b6045f44964ec5e1f8bdb9c913797
qemu: command: Handle FD passing commandline via qemuBuildBlockStorageSourceAttachDataCommandline

Copy the pointer to qemuFDPass into struct qemuBlockStorageSourceAttachData
so that it can be used from qemuBuildBlockStorageSourceAttachDataCommandline
rather than looping again in qemuBuildDiskSourceCommandLineFDs.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_block.h
src/qemu/qemu_command.c
tests/qemuxml2argvdata/disk-source-fd.x86_64-latest.args