]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuFDPassTransferCommand: Mark that FD was passed
authorPeter Krempa <pkrempa@redhat.com>
Tue, 31 Jan 2023 16:26:43 +0000 (17:26 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 1 Feb 2023 08:17:41 +0000 (09:17 +0100)
commit3b7b201b95f2facc01bd9f8a42aed0fad96789fa
tree7cebee1b1b4affe3aa691ea9bd00b529cf21221e
parent65f14232fb031b57fad085a2e8792da87c97173f
qemuFDPassTransferCommand: Mark that FD was passed

Until now the code didn't expect that we'd want to rollback/detach a FD
passed on the commandline, but whith disk backend FD passing this can
happen.

Properly mark the 'qemuFDPass' object as passed to qemu even when it was
done on the commandline.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_fd.c