]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuFileWrapperFDClose: move to qemu_domain.c
authorPeter Krempa <pkrempa@redhat.com>
Thu, 16 Jul 2020 09:40:34 +0000 (11:40 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 24 Aug 2020 14:41:34 +0000 (16:41 +0200)
commit8cd7ee65878f7abbc4e4053ddf92c1952457424d
treeade555a7b87ed322c59734d5b2b32cef6e40d562
parent19b2d848549aff4d2eaa97d9e48b8cccf6b6290b
qemuFileWrapperFDClose: move to qemu_domain.c

Move the code to qemu_domain.c so that it can be reused in other parts
of the qemu driver. 'qemu_domain' was chosen as we check the domain
state after closing the wrapper.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c