]> xenbits.xensource.com Git - libvirt.git/commitdiff
phyp: Don't overwrite error from virDomainDeviceDefParse by OOM error
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 9 Apr 2011 09:59:11 +0000 (11:59 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Thu, 14 Apr 2011 11:08:30 +0000 (13:08 +0200)
src/phyp/phyp_driver.c

index 2d8bfef4d7d86e110e48fe2b705f544b0576d2d1..9b412e23639f45ab9e65170b3b36520de2f243a4 100644 (file)
@@ -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;
     }