Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
libvirt.11329
14d03b27-libxl-rm-redundant-virObjectEventState...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 14d03b27-libxl-rm-redundant-virObjectEventStateQueue.patch of Package libvirt.11329
commit 14d03b27bf8f8a13da27a297e23e2b1b80688459 Author: Jim Fehlig <jfehlig@suse.com> Date: Wed Oct 31 10:41:28 2018 -0600 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> Index: libvirt-4.0.0/src/libxl/libxl_domain.c =================================================================== --- libvirt-4.0.0.orig/src/libxl/libxl_domain.c +++ libvirt-4.0.0/src/libxl/libxl_domain.c @@ -520,10 +520,6 @@ libxlDomainShutdownThread(void *opaque) } destroy: - if (dom_event) { - libxlDomainEventQueue(driver, dom_event); - dom_event = NULL; - } libxlDomainDestroyInternal(driver, vm); libxlDomainCleanup(driver, vm); if (!vm->persistent) @@ -532,10 +528,6 @@ libxlDomainShutdownThread(void *opaque) goto endjob; restart: - if (dom_event) { - libxlDomainEventQueue(driver, dom_event); - dom_event = NULL; - } libxlDomainDestroyInternal(driver, vm); libxlDomainCleanup(driver, vm); if (libxlDomainStartNew(driver, vm, false) < 0) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor