search for: xendclient

Displaying 16 results from an estimated 16 matches for "xendclient".

Did you mean: xenclient
2005 Oct 13
2
[PATCH] sedf get in XendClient API
Here are some patches I compiled to get sedf_get to the XendClient API... sadly, however, the current xc frontend is missing a variable (weight) and needed to be edited. Below are my "homemade" patches (I did this since my code base is EXTREMELY old... however the code is still valid) tools/python/xen/lowlevel/xc/xc.c line 766 static PyObject *pyxc...
2006 Mar 23
0
Re: [Xen-changelog] Improve error handling, in particular fixing the ProtocolError that is thrown
...============================================== > + > +import xmlrpclib > > from xen.xend import XendDomain, XendDomainInfo, XendNode, \ > XendLogging, XendDmesg > from xen.util.xmlrpclib2 import UnixXMLRPCServer, TCPXMLRPCServer > > -from xen.xend.XendClient import XML_RPC_SOCKET > +from xen.xend.XendClient import XML_RPC_SOCKET, ERROR_INVALID_DOMAIN > > def lookup(domid): > - return XendDomain.instance().domain_lookup_by_name_or_id(domid) > + try: > + return XendDomain.instance().domain_lookup_by_name_or_id(domid) &gt...
2006 Feb 28
2
[PATCH 0/3] Add XML-RPC support to Xend
...ML-RPC for Xend. The first patch just adds a new server for Xend that exposes the same functions exposed by the S-Expression/HTTP server expect by XML-RPC. There is no change to the code paths taken for any xm commands so it''s a rather safe patch to include. The second patch changes XendClient to use XML-RPC and makes a few subsequent changes to xm to know about the new exception types generated. This changeset has been passing xm-test for the past couple weeks so I''m rather confident that it doesn''t introduce any major regressions. One thing to notice (from the a...
2005 Jun 07
8
[PATCH] add dom0 vcpu hotplug control
...ftware Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com diffstat output: linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c | 81 +++++++++++++++++ tools/python/xen/lowlevel/xu/xu.c | 16 +++ tools/python/xen/xend/XendClient.py | 6 + tools/python/xen/xend/XendDomain.py | 4 tools/python/xen/xend/XendDomainInfo.py | 12 ++ tools/python/xen/xend/server/SrvDomain.py | 8 + tools/python/xen/xend/server/messages.py | 18 +++ tools...
2004 Oct 01
6
xm list dropping domain?
I rebooted xenU from console (dom2) and exited (ctr-]). xm list does not report 2 anymore yet I can log into 2 via console and it is running just fine. Is this a bug? I''ll pull/rebuild and see what happens.. (this is xen-2.0, cset 1.1321.1.1, rh7.3 dom0/dom1) ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on
2008 Sep 16
2
xm, no such domain error code...
Right now xm will return 1 if you run `xm list non_existant_domain` Wouldnt it be a better idea to have a specific error code for this error so that scripts wrapping around xm can better determine if the domain does not exist or if xm just failed for whatever reason? ~Shaun _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2008 Sep 17
2
[Xen-ia64-devel] [PATCH] xm: Don''t spawn vncviewer twice.
...preprocess_cpuid(vals, ''cpuid'') @@ -1193,23 +1160,10 @@ try: dominfo = server.xend.domain.create(config) except xmlrpclib.Fault, ex: - import signal - if vncpid: - os.kill(vncpid, signal.SIGKILL) if ex.faultCode == xen.xend.XendClient.ERROR_INVALID_DOMAIN: err("the domain ''%s'' does not exist." % ex.faultString) else: err("%s" % ex.faultString) - except Exception, ex: - # main.py has good error messages that let the user know what failed. -...
2006 Mar 01
2
domU''s on SLES 10.0b3 crashing dom0
Hi all, I installed SLES 10.0b3 with XEN on some test-systems and created a SLES 10.0b3-image for use with domU''s. The installation and booting of this domU was no problem, but on some systems the host dom0 restarts if I generate some IP-traffic from the guest. This happens on an old AMD Athlon 1,3GHz, an old Intel P3 and an Intel desktop with P4 HT/VT/EM64T but not on an Intel
2005 Dec 26
1
[PATCH] symmetricalization of system info command xm info, top, dmesg and log
...thon/xen/xm/main.py --- a/tools/python/xen/xm/main.py Fri Dec 23 15:42:46 2005 +++ b/tools/python/xen/xm/main.py Mon Dec 26 10:16:56 2005 @@ -625,6 +625,8 @@ server.xend_domain_cpu_sedf_set(dom, *v) def xm_info(args): + arg_check(args, "info", 0) + from xen.xend.XendClient import server info = server.xend_node() @@ -645,9 +647,12 @@ def xm_top(args): + arg_check(args, "top", 0) + os.execvp(''xentop'', [''xentop'']) def xm_dmesg(args): + arg_check(args, "dmesg", 0) gopts = Opts(use="&...
2006 Mar 07
8
[PATCH] xm,xend: flesh out xm sched-sedf
...ID Mem(MiB) VCPUs State Time(s)'' for dom in doms: @@ -617,12 +641,88 @@ server.xend_node_cpu_bvt_slice_set(slice) def xm_sched_sedf(args): - arg_check(args, "sched-sedf", 6) - - dom = args[0] - v = map(int, args[1:6]) - from xen.xend.XendClient import server - server.xend_domain_cpu_sedf_set(dom, *v) + def print_sedf(info): + print( ("%(name)-32s %(dom)3d %(period)12d %(slice)12d %(latency)12d" + + " %(extratime)10d %(weight)7d") % info) + + # FIXME: this can probably go away if someone p...
2007 Jul 15
0
virtman breaks after installing XEN 3.1 on SELS 10.1
...ng control scripts. xen.xend.XendAPI xen.xend.XendAPIConstants xen.xend.XendAPIStore - This is a place to put instances of XenAPI objects, xen.xend.XendAPIVersion xen.xend.XendAuthSessions xen.xend.XendBase - Base class for all XenAPI classes xen.xend.XendBootloader xen.xend.XendCheckpoint xen.xend.XendClient xen.xend.XendConfig xen.xend.XendConstants xen.xend.XendDevices xen.xend.XendDmesg - Get dmesg output for this node. xen.xend.XendDomain - Handler for domain operations. xen.xend.XendDomainInfo - Representation of a single domain. xen.xend.XendError xen.xend.XendLocalStorageRepo xen.xend.XendLoggin...
2007 Feb 20
9
[PATCH 0/8] Domain Groups: Introduction
...| 4 tools/libxc/xc_private.h | 31 ++ tools/libxc/xenctrl.h | 31 ++ tools/python/xen/lowlevel/xc/xc.c | 241 +++++++++++++++-- tools/python/xen/xend/XendCheckpoint.py | 49 +++ tools/python/xen/xend/XendClient.py | 1 tools/python/xen/xend/XendConfig.py | 25 + tools/python/xen/xend/XendConstants.py | 11 tools/python/xen/xend/XendDomain.py | 10 tools/python/xen/xend/XendDomainInfo.py | 26 + tools/python/xen/xend/XendError.py | 4...
2007 Jan 05
10
[PATCH 1/7] Fix pygrub path on Solaris
Fix for pygrub path on Solaris. Signed-off-by: John Levon <john.levon@sun.com> diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -37,7 +37,7 @@ from xen.util.blkif import blkdev_uname_ from xen.util.blkif import blkdev_uname_to_file from xen.util
2005 Sep 30
14
pdb missing files?
Hello, I''m trying to get PDB working in accordance with the instructions at http://www.cl.cam.ac.uk/~sos22/replay.bk/docs/misc/XenDebugger-HOWTO and a message from this list: http://lists.xensource.com/archives/html/xen-devel/2004-08/msg00017.html When I try to build pdb I first get errors because the Makefile is configured to treat warnings as errors, and there are some warnings.
2010 May 17
0
strace log
...T (No such file or directory) open("/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/string.pyc", O_RDONLY) = -1 ENOENT (No such file or directory) close(5) = 0 close(4) = 0 stat("/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendClient", 0x7fffffff6680) = -1 ENOENT (No such file or directory) open("/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendClient.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendClientmodule.so", O_RDONLY) = -1 ENOENT (N...
2013 Jul 31
29
[PATCH 0/9] tools: remove or disable old/useless/unused/unmainted stuff
depends on "autoconf: regenerate configure scripts with 4.4 version" This series removes some of the really old deadwood from the tools build and makes some other things which are on their way out configurable at build time with a default depending on how far down the slope I judge them to be. * nuke in tree copy of libaio * nuke obsolete tools: xsview, miniterm, lomount & sv *