[libvirt] [PATCH 3/4] libxl: handle domain shutdown events in a thread