mirror of https://gitee.com/openkylin/libvirt.git
phyp: Don't overwrite error from virDomainDeviceDefParse by OOM error
This commit is contained in:
parent
e69aa73339
commit
e13e1f4f5d
src/phyp
|
@ -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…
Reference in New Issue