void qemuDomainReAttachHostDevices(struct qemud_driver *driver, virDomainDefPtr def) { if (!def->nhostdevs) return; qemuDomainReAttachHostdevDevices(driver, def->name, def->hostdevs, def->nhostdevs); qemuDomainReAttachHostUsbDevices(driver, def->name, def->hostdevs, def->nhostdevs); }
void qemuDomainReAttachHostDevices(virQEMUDriverPtr driver, virDomainDefPtr def) { if (!def->nhostdevs) return; qemuDomainReAttachHostdevDevices(driver, def->name, def->hostdevs, def->nhostdevs); qemuDomainReAttachHostUsbDevices(driver, def->name, def->hostdevs, def->nhostdevs); }