[libvirt] PATCH: Fix error report for unknown node devices

Daniel Veillard veillard at redhat.com
Tue Mar 31 21:39:23 UTC 2009


On Tue, Mar 31, 2009 at 03:20:40PM +0100, Daniel P. Berrange wrote:
> When requesting a non-existant device you currently get
> 
> # virsh nodedev-dumpxml foo
> error: Could not find matching device 'foo'
> error: invalid node device pointer in no node device with matching name
> 
> 
> This patch fixes that to give
> 
> # virsh nodedev-dumpxml foo
> error: Could not find matching device 'foo'
> error: Node device not found

  Cosmetic, but good catch :-) ACK

Da niel

-- 
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