Displaying 2 results from an estimated 2 matches for "xs_shutdown".
2005 Nov 14
0
Xend fails to start on newly compiled xen dom0 kernel
...e-packages/xen/xend/xenstore/__init__.py",
line 17 , in ?
from xsnode import *
File
"/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py",
line 26, in ?
from xen.lowlevel import xs
ImportError:
/usr/lib/python2.4/site-packages/xen/lowlevel/xs.so:
undefined symb ol: xs_shutdown
[root@localhost ~]# /usr/sbin/xend stop
Traceback (most recent call last):
File "/usr/sbin/xend", line 33, in ?
from xen.xend.server import SrvDaemon
File
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py",
line 28, in ?
import controller
File
"/...
2005 Aug 04
0
[PATCH 6/11] Xenstore watch rework
...case XS_RM:
- return do_rm(conn, onearg(in));
+ do_rm(conn, onearg(in));
+ break;
case XS_GET_PERMS:
- return do_get_perms(conn, onearg(in));
+ do_get_perms(conn, onearg(in));
+ break;
case XS_SET_PERMS:
- return do_set_perms(conn, in);
+ do_set_perms(conn, in);
+ break;
case XS_SHUTDOWN:
/* FIXME: Implement gentle shutdown too. */
/* Only tools can do this. */
- if (conn->id != 0)
- return send_error(conn, EACCES);
- if (!conn->can_write)
- return send_error(conn, EROFS);
+ if (conn->id != 0) {
+ send_error(conn, EACCES);
+ break;
+ }
+ if (!conn->ca...