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

[Xen-devel] [patch] Add more xc_error_code values.


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Gerd Hoffmann <kraxel@xxxxxxx>
  • Date: Fri, 08 Dec 2006 16:09:58 +0100
  • Delivery-date: Fri, 08 Dec 2006 07:10:31 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

XC_INVALID_PARAM
  such as asking for features unsupported by either xen or guest kernel.
XC_OUT_OF_MEMORY
  no comment ;)

Signed-off-by: Gerd Hoffmann <kraxel@xxxxxxx>
---
 tools/libxc/xenctrl.h |    2 ++
 1 file changed, 2 insertions(+)

Index: build-32-unstable-12802/tools/libxc/xenctrl.h
===================================================================
--- build-32-unstable-12802.orig/tools/libxc/xenctrl.h
+++ build-32-unstable-12802/tools/libxc/xenctrl.h
@@ -687,6 +687,8 @@ typedef enum {
   XC_ERROR_NONE = 0,
   XC_INTERNAL_ERROR = 1,
   XC_INVALID_KERNEL = 2,
+  XC_INVALID_PARAM = 3,
+  XC_OUT_OF_MEMORY = 4,
 } xc_error_code;
 
 #define XC_MAX_ERROR_MSG_LEN 1024

-- 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.