Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:as_python3_module
libvirt.23594
27e1779f-libxl-debug.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 27e1779f-libxl-debug.patch of Package libvirt.23594
commit 27e1779f0895c3a7e523fa61a5764806275b7e5b Author: Jim Fehlig <jfehlig@suse.com> Date: Tue Apr 13 17:29:19 2021 -0600 libxl: Add debug statements Over several years of debugging reports related to VM shutdown, destruction, and cleanup, I've found that logging of all events received from libxl and logging the entry of libxlDomainCleanup has proven useful. Add the these debug messages upstream to aid in future debugging. Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Index: libvirt-7.1.0/src/libxl/libxl_domain.c =================================================================== --- libvirt-7.1.0.orig/src/libxl/libxl_domain.c +++ libvirt-7.1.0/src/libxl/libxl_domain.c @@ -647,6 +647,8 @@ libxlDomainEventHandler(void *data, VIR_ virDomainObjPtr vm = NULL; g_autoptr(libxlDriverConfig) cfg = NULL; + VIR_DEBUG("Received libxl event '%d' for domid '%d'", event->type, event->domid); + if (event->type != LIBXL_EVENT_TYPE_DOMAIN_SHUTDOWN && event->type != LIBXL_EVENT_TYPE_DOMAIN_DEATH) { VIR_INFO("Unhandled event type %d", event->type); @@ -843,6 +845,9 @@ libxlDomainCleanup(libxlDriverPrivatePtr unsigned int hostdev_flags = VIR_HOSTDEV_SP_PCI; g_autoptr(virConnect) conn = NULL; + VIR_DEBUG("Cleaning up domain with id '%d' and name '%s'", + vm->def->id, vm->def->name); + #ifdef LIBXL_HAVE_PVUSB hostdev_flags |= VIR_HOSTDEV_SP_USB; #endif
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