qemu: address: Stop reporting warning when USB address can't be released
The warning is reported at a code path which already reports a proper error so it's pointless to add yet another line into logs. Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
3c0b1cfdf6
commit
54eb3e096b
@ -3264,8 +3264,7 @@ qemuDomainReleaseDeviceAddress(virDomainObjPtr vm,
|
|||||||
virDomainPCIAddressExtensionReleaseAddr(priv->pciaddrs, &info->addr.pci);
|
virDomainPCIAddressExtensionReleaseAddr(priv->pciaddrs, &info->addr.pci);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (virDomainUSBAddressRelease(priv->usbaddrs, info) < 0)
|
virDomainUSBAddressRelease(priv->usbaddrs, info);
|
||||||
VIR_WARN("Unable to release USB address on %s", NULLSTR(info->alias));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user