[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] PATCH: Add a new error code for invalid operations
- From: Daniel Veillard <veillard redhat com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] PATCH: Add a new error code for invalid operations
- Date: Wed, 29 Apr 2009 17:34:37 +0200
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 veillard com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]