Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
libvirt.29527
a4e6fba0-libxl-rename-threadinfo-struct.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File a4e6fba0-libxl-rename-threadinfo-struct.patch of Package libvirt.29527
commit a4e6fba069c0809b8b5dde5e9db62d2efd91b4a0 Author: Jim Fehlig <jfehlig@suse.com> Date: Wed Nov 24 11:10:19 2021 -0700 libxl: Rename libxlShutdownThreadInfo struct An upcoming change will use the struct in a thread created to process death events. Rename libxlShutdownThreadInfo to libxlEventHandlerThreadInfo to reflect the more generic usage. Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Index: libvirt-6.0.0/src/libxl/libxl_domain.c =================================================================== --- libvirt-6.0.0.orig/src/libxl/libxl_domain.c +++ libvirt-6.0.0/src/libxl/libxl_domain.c @@ -466,7 +466,7 @@ libxlDomainShutdownHandleRestart(libxlDr } -struct libxlShutdownThreadInfo +struct libxlEventHandlerThreadInfo { libxlDriverPrivatePtr driver; virDomainObjPtr vm; @@ -477,7 +477,7 @@ struct libxlShutdownThreadInfo static void libxlDomainShutdownThread(void *opaque) { - struct libxlShutdownThreadInfo *shutdown_info = opaque; + struct libxlEventHandlerThreadInfo *shutdown_info = opaque; virDomainObjPtr vm = shutdown_info->vm; libxl_event *ev = shutdown_info->event; libxlDriverPrivatePtr driver = shutdown_info->driver; @@ -656,7 +656,7 @@ libxlDomainEventHandler(void *data, VIR_ } if (event->type == LIBXL_EVENT_TYPE_DOMAIN_SHUTDOWN) { - struct libxlShutdownThreadInfo *shutdown_info = NULL; + struct libxlEventHandlerThreadInfo *shutdown_info = NULL; virThread thread; /* @@ -683,7 +683,7 @@ libxlDomainEventHandler(void *data, VIR_ } /* * virDomainObjEndAPI is called in the shutdown thread, where - * libxlShutdownThreadInfo and libxl_event are also freed. + * libxlEventHandlerThreadInfo and libxl_event are also freed. */ return; } else if (event->type == LIBXL_EVENT_TYPE_DOMAIN_DEATH) {
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