mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
phyp: Don't overwrite error from virDomainDeviceDefParse by OOM error
This commit is contained in:
parent
e69aa73339
commit
e13e1f4f5d
@ -1971,7 +1971,6 @@ phypAttachDevice(virDomainPtr domain, const char *xml)
|
||||
dev = virDomainDeviceDefParse(phyp_driver->caps, def, xml,
|
||||
VIR_DOMAIN_XML_INACTIVE);
|
||||
if (!dev) {
|
||||
virReportOOMError();
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user