mirror of https://gitee.com/openkylin/libvirt.git
libxl: Modify name of shutdown thread
The current thread name 'ev-<domid>' is a bit terse. Change the name to 'shutdown-event-<domid>', allowing it to be distinguished between thread handling other event types. Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
a4e6fba069
commit
e4f7589a3e
|
@ -678,7 +678,7 @@ libxlDomainEventHandler(void *data, libxl_event *event)
|
|||
shutdown_info->driver = driver;
|
||||
shutdown_info->vm = vm;
|
||||
shutdown_info->event = (libxl_event *)event;
|
||||
name = g_strdup_printf("ev-%d", event->domid);
|
||||
name = g_strdup_printf("shutdown-event-%d", event->domid);
|
||||
/*
|
||||
* Cleanup will be handled by the shutdown thread.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue