]> xenbits.xensource.com Git - libvirt.git/commit
libxl: Handle domain death events in a thread
authorJim Fehlig <jfehlig@suse.com>
Wed, 24 Nov 2021 18:36:55 +0000 (11:36 -0700)
committerJim Fehlig <jfehlig@suse.com>
Thu, 2 Dec 2021 18:21:10 +0000 (11:21 -0700)
commitb9a5faea49b7412e26d7389af4c32fc2b3ee80e5
treea2cdc20dafab74b3bed06d1adc8bd3aeb1d7f731
parente4f7589a3ec285489618ca04c8c0230cc31f3d99
libxl: Handle domain death events in a thread

Similar to domain shutdown events, processing domain death events can be a
lengthy process and we don't want to block the event handler while the
operation completes. Move the death handling function to a thread.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/libxl/libxl_domain.c