Re: [libvirt] [PATCH] Don't allow NULL paths for BlockStats and InterfaceStats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 24, 2009 at 11:05:28AM -0400, Cole Robinson wrote:
> Do the check in libvirt.c, to save drivers from the burden. This changes
> behavior slightly in the qemu driver: we no longer explictly error if
> passed an empty string. An error will still be thrown when the device
> lookup fails.

  ACK, I would just add (path[0] = 0) as one of the parameter failure
in libvirt.c directly

Daniel

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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]