[libvirt] [PATCH V2 11/13] libxl: use job functions in device attach and detach functions