[libvirt] [PATCH v13 23/49] qemuPrepareUSBDevices: code adjustment for extracting general code