[libvirt] [PATCH 12/17] qemu: refactor hotplug detach of hostdevs