[libvirt] [PATCH 5/5] phyp: Don't overwrite error from virDomainDeviceDefParse by OOM error

Daniel Veillard veillard at redhat.com
Mon Apr 11 03:06:29 UTC 2011


On Sat, Apr 09, 2011 at 11:59:11AM +0200, Matthias Bolte wrote:
> ---
>  src/phyp/phyp_driver.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c
> index 226946d..f36b357 100644
> --- a/src/phyp/phyp_driver.c
> +++ b/src/phyp/phyp_driver.c
> @@ -2000,7 +2000,6 @@ phypAttachDevice(virDomainPtr domain, const char *xml)
>      dev = virDomainDeviceDefParse(phyp_driver->caps, def, xml,
>                                    VIR_DOMAIN_XML_INACTIVE);
>      if (!dev) {
> -        virReportOOMError();
>          goto cleanup;
>      }
>  

ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list