[libvirt] [PATCH v13 31/49] extract general code from qemuDomainReAttachHostUsbDevices