[PATCH] qemuDomainCleanupRun: Actually run cleanup callbacks in reverse order

Ján Tomko jtomko at redhat.com
Mon May 11 10:57:45 UTC 2020


On a Wednesday in 2020, Michal Privoznik wrote:
>We have a framework to register cleanup callbacks that are run
>when a domain is shut down. The idea is to run callbacks in
>reverse order than they were registered. However, looking at the
>code this is not the case. Fortunately, this framework is used to
>register a single callback and a single callback only -
>qemuMigrationDstPrepareCleanup() - therefore there was no problem
>just yet.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/qemu/qemu_domain.c | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200511/5b049e3e/attachment-0001.sig>


More information about the libvir-list mailing list