Re: [libvirt] PATCH: Add a new error code for invalid operations

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

 



On Wed, Apr 29, 2009 at 03:32:02PM +0100, Daniel P. Berrange wrote:
> A number of operations are only valid when the corresponding object is in
> a particular state. eg,  you can only suspend a domain, if it is currently
> running. We don't have a very consistent way of reporting this problem 
> across drivers, so this patch introduces a new error code for this situation
> called  VIR_ERR_INVALID_OPERATION. This code is intended to be used if the
> operation is supported, but not applicable for the object at this time.
> It updates the Xen and QEMU drivers to use this error code.

  yes, makes sense, and patch looks fine, ACK

  thanks,

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]