]> xenbits.xensource.com Git - libvirt.git/commit
qemu: domain: Introduce qemuDomainStartupCleanup
authorPeter Krempa <pkrempa@redhat.com>
Thu, 5 Jan 2023 14:07:38 +0000 (15:07 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 9 Jan 2023 13:59:43 +0000 (14:59 +0100)
commit4c9ce062d35c2b6daac30a5ddd65ec5963e313d4
tree060c855e791b4446cb39a99a4e6622c2fd2cd96d
parent98bd201678dc1d29c62dd84848fe48c0c44a3a15
qemu: domain: Introduce qemuDomainStartupCleanup

The new helper qemuDomainStartupCleanup is used to perform cleanup after
a startup of a VM (successful or not). The initial implementation just
calls qemuDomainSecretDestroy, which can be un-exported.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_process.c