]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: remove redundant calls to virObjectEventStateQueue
authorJim Fehlig <jfehlig@suse.com>
Wed, 31 Oct 2018 16:41:28 +0000 (10:41 -0600)
committerJim Fehlig <jfehlig@suse.com>
Tue, 6 Nov 2018 16:06:45 +0000 (09:06 -0700)
commit14d03b27bf8f8a13da27a297e23e2b1b80688459
tree873ee4da10f5e89940954140ab6a8c4309ffecce
parente08e792493d36f49e8317d103f28fac929295686
libxl: remove redundant calls to virObjectEventStateQueue

In libxlDomainShutdownThread, virObjectEventStateQueue is needlessly
called in the destroy and restart labels. The cleanup label aready
queues whatever event was created based on libxl_shutdown_reason.
There is no need to handle destroy and restart differently.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
src/libxl/libxl_domain.c