search for: auxbin

Displaying 19 results from an estimated 19 matches for "auxbin".

2010 Jun 12
2
[PATCH] fixup xen-4.0 xend to match changes in tools-python-prefix.diff
debian/patches/tools-python-prefix.diff removes auxbin.pathTo and replaces it with auxbin.path_bin and auxbin.path_boot. However there are still references to auxbin.pathTo in xend. The attached switches those usages to the correct new function. Without these I get: Error: 'module' object has no attribute 'pathTo' when trying...
2007 May 18
0
[PATCH] Cannot find Xen Python modules
...ay 19 02:24:24 2007 +0300 @@ -30,12 +30,13 @@ import sys for p in [''python%s'' % sys.version[:3], ''python'']: for l in [''/usr/lib64'', ''/usr/lib'']: - d = os.path.join(l, p) - if os.path.exists(os.path.join(d, AUXBIN)): - sys.path.append(d) - import xen.util.auxbin - print os.path.join(xen.util.auxbin.libpath(), p) - sys.exit(0) + for k in ['''', ''site-packages/'']: + d = os.path.join(l, p, k) + if os.path....
2005 Oct 11
1
Re: [Xen-changelog] Added auxbin module, for handling auxillary binaries.
On Tue, 2005-10-11 at 14:32 +0000, Xen patchbot -unstable wrote: > +def path(): > + machine = os.uname()[4] > + if machine.find(''64'') != -1 and os.path.exists(LIB_BIN_64): > + return LIB_BIN_64 > + else: > + return LIB_BIN_32 This will break on ia64. Itanium doesn''t use lib64 paths. So you really want to check against explicit
2007 Jun 19
0
[PATCH] adjust tools'' path calculation
...;'/usr/lib''] + +for l in list: + for p in [''python%s'' % sys.version[:3], ''python'']: for k in ['''', ''site-packages/'']: d = os.path.join(l, p, k) if os.path.exists(os.path.join(d, AUXBIN)): Index: 2007-06-18/tools/python/xen/util/auxbin.py =================================================================== --- 2007-06-18.orig/tools/python/xen/util/auxbin.py 2007-06-19 11:25:18.000000000 +0200 +++ 2007-06-18/tools/python/xen/util/auxbin.py 2007-06-18 12:15:35.000000000 +0200 @@ -27,...
2006 Aug 01
0
[PATCH][TOOLS] ppc64 is not a LIB_64_ARCH
changeset: 11208:a40c8bae08a81181c38a43a744b5d87db22066ea parent: 11206:12da2c3245bbbf63781e2ad5e6f2eb489d93957c user: Jimi Xenidis <jimix@watson.ibm.com> date: Tue Aug 01 16:40:33 2006 -0400 files: tools/python/xen/util/auxbin.py description: [TOOLS] ppc64 is not a LIB_64_ARCH Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com> diff -r 12da2c3245bbbf63781e2ad5e6f2eb489d93957c -r a40c8bae08a81181c38a43a744b5d87db22066ea tools/python/xen/util/auxbin.py --- a/tools/python/xen/util/auxbin.py Thu Jul 27 20:07:02 2006...
2010 May 04
1
xen-4.0.0: Could not connect to DomU console
...in.py", line 3640, in _run_cmd return True, cmd(args) File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 1891, in xm_console console.execConsole(domid, num) File "/usr/lib/python2.5/site-packages/xen/xm/console.py", line 28, in execConsole xen.util.auxbin.execute(XENCONSOLE, [str(domid), "--num", str(num)]) File "/usr/lib/python2.5/site-packages/xen/util/auxbin.py", line 30, in execute os.execv(exepath, a) TypeError: coercing to Unicode: need string or buffer, NoneType found Thanks. _____________________________________...
2010 May 04
1
xen-4.0.0: Could not connect to DomU console
...in.py", line 3640, in _run_cmd return True, cmd(args) File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 1891, in xm_console console.execConsole(domid, num) File "/usr/lib/python2.5/site-packages/xen/xm/console.py", line 28, in execConsole xen.util.auxbin.execute(XENCONSOLE, [str(domid), "--num", str(num)]) File "/usr/lib/python2.5/site-packages/xen/util/auxbin.py", line 30, in execute os.execv(exepath, a) TypeError: coercing to Unicode: need string or buffer, NoneType found Thanks. _____________________________________...
2010 Feb 18
2
backport upstream pygrub fixes to allow booting squeeze default install?
...syntax to continue working (#481105). --- xen-3.orig/tools/python/xen/xend/osdep.py 2008-05-12 12:01:59.000000000 +0100 +++ xen-3/tools/python/xen/xend/osdep.py 2008-07-20 12:53:18.000000000 +0100 @@ -18,7 +18,8 @@ # Use is subject to license terms. import os import commands +import xen.util.auxbin _scripts_dir = { "Linux": "/etc/xen/scripts", @@ -92,6 +93,6 @@ scripts_dir = _get(_scripts_dir, "/etc/xen/scripts") xend_autorestart = _get(_xend_autorestart) -pygrub_path = _get(_pygrub_path, "/usr/bin/pygrub") +pygrub_path = _get(_pygrub_path,...
2010 May 16
2
[PATCH][RESENT] xend: fix bug in xend option parsing
...def get_xend_tcp_xmlrpc_server_ssl_key_file(self): name = ''xend-tcp-xmlrpc-server-ssl-key-file'' file = self.get_config_string(name) - if os.path.dirname(file) == "": + if file and os.path.dirname(file) == "": file = auxbin.xen_configdir() + ''/'' + file; - if not os.path.exists(file): + if file and not os.path.exists(file): raise XendError("invalid xend config %s: directory ''%s'' does not exist" % (name, file)) return file def get_xe...
2010 Jun 25
0
Bug#587090: xen-utils-4.0: Exception starting xend ('NoneType' object has no attribute 'rfind')
...Apr 28 16:54:04 2010 +0200 @@ -207,18 +207,18 @@ def get_xend_tcp_xmlrpc_server_ssl_key_file(self): name = 'xend-tcp-xmlrpc-server-ssl-key-file' file = self.get_config_string(name) - if os.path.dirname(file) == "": + if file and os.path.dirname(file) == "": file = auxbin.xen_configdir() + '/' + file; - if not os.path.exists(file): + if file and not os.path.exists(file): raise XendError("invalid xend config %s: directory '%s' does not exist" % (name, file)) return file def get_xend_tcp_xmlrpc_server_ssl_cert_file(self): name = 'x...
2008 Jan 25
1
Bug#462522: xen-utils installation failure
....deb) ... Selecting previously deselected package xen-hypervisor-3.2-1-i386. Unpacking xen-hypervisor-3.2-1-i386 (from .../xen-hypervisor-3.2-1-i386_3.2.0-1_i386.deb) ... Setting up xen-docs-3.2 (3.2.0-1) ... Setting up xen-utils-3.2-1 (3.2.0-1) ... Compiling /usr/lib/xen-3.2-1/lib/python/xen/util/auxbin.py ... File "/usr/lib/xen-3.2-1/lib/python/xen/util/auxbin.py", line 23 +_path = sys.path[0] SyntaxError: can't assign to operator pycentral: pycentral pkginstall: error byte-compiling files (182) pycentral pkginstall: error byte-compiling files (182) dpkg: error processing xen...
2009 May 28
5
[PATCH] tools/stubdom: get rid of hardcoded pathes
Hi! Attached patch makes xen-tools and stubdom-dm going independent from hardcoded pathes. It is no possible to install into /usr/local or any other non-default directory and use it out-of-the box. This allows us to have different Xen versions in different directories, simplifies packaging for distributions. It also finds ''hvmloader'' and
2008 Sep 03
0
Upgrading packages to 3.3.0
...s some more hardcoded occurrences that requires changes to support "debian way" for xen-<version> within /usr/lib and /usr/share, but got into problems with some other lines in the patches (mainly tools-misc-prefix.diff where debian patches replaced execvp with execute from xen.util.auxbin and on xen 3.3.0 they implemented a start_daemon function, among some PATH problems). Since xen-unstable (the version from sid) didn't worked flawlessly on my setup (where 3.2-1 works) I'm willing to try to use the 3.2-1 packages as reference instead of xen-unstable, unless someone advises...
2009 Feb 11
0
Bug#514918: xen-utils-unstable: xend starts with errors
...n <module> sys.exit(main()) File "/usr/lib/xen-unstable/bin/xend", line 123, in main start_blktapctrl() File "/usr/lib/xen-unstable/bin/xend", line 107, in start_blktapctrl execute('blktapctrl') File "/usr/lib/xen-unstable/lib/python/xen/util/auxbin.py", line 30, in execute os.execv(exepath, a) OSError: [Errno 2] No such file or directory -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental') Architecture: amd64 (x86_64) Kerne...
2008 Nov 04
2
where is tools\xcutils\xc_save used?
I want to add some parameters when vm is migrated. As I can see , vmm will use xc_domain_save(tools\libxc\Xc_domain_save.c) function ,and the main function of xc_save.c is responsible for inputting parameters. so I just want to know which function will use this executable file. Thanks Min Li School of Computer Science and Technology Cluster and Grid Computing Lab Services Computing Technology
2007 Jul 15
0
virtman breaks after installing XEN 3.1 on SELS 10.1
...l.xs xen.sv.CreateDomain xen.sv.DomInfo xen.sv.GenTabbed xen.sv.HTMLBase xen.sv.Main xen.sv.NodeInfo xen.sv.RestoreDomain xen.sv.Wizard xen.sv (package) xen.sv.util xen.util.Brctl - Bridge control utilities. xen.util.SSHTransport - XML-RPC SSH transport. xen.util (package) xen.util.asserts xen.util.auxbin xen.util.blkif xen.util.bugtool xen.util.diagnose xen.util.dictio xen.util.ip xen.util.mac xen.util.mkdir xen.util.pci xen.util.security xen.util.xmlrpcclient xen.util.xmlrpclib2 - An enhanced XML-RPC client/server interface for Python. xen.util.xpopen - Spawn a command with pipes to its stdin, std...
2007 Oct 24
16
PATCH 0/10: Merge PV framebuffer & console into QEMU
The following series of 10 patches is a merge of the xenfb and xenconsoled functionality into the qemu-dm code. The general approach taken is to have qemu-dm provide two machine types - one for xen paravirt, the other for fullyvirt. For compatability the later is the default. The goals overall are to kill LibVNCServer, remove alot of code duplication and/or parallel impls of the same concepts, and
2010 Sep 09
2
[PATCH]: add libxl python binding
...owlevel/xl/_pyxl_types.h \ + xen/lowlevel/xl/_pyxl_types.c CC="$(CC)" CFLAGS="$(CFLAGS)" $(PYTHON) setup.py build build: buildpy refresh-pot refresh-po $(CATALOGS) @@ -85,6 +89,8 @@ test: clean: rm -f $(XENPATH) rm -rf build *.pyc *.pyo *.o *.a *~ $(CATALOGS) xen/util/auxbin.pyc + rm -f xen/lowlevel/xl/_pyxl_types.h + rm -f xen/lowlevel/xl/_pyxl_types.c rm -f $(DEPS) -include $(DEPS) diff -r b19856f6dd76 tools/python/genwrap.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/python/genwrap.py Thu Sep 09 12:06:50 2010 +0100 @@ -0,0 +1,346 @@ +#!/usr/bin/py...
2010 May 17
0
strace log
...0@\0\0\0s\37\0\0\0d\0\0"..., 4096) = 455 fstat(5, {st_mode=S_IFREG|0644, st_size=455, ...}) = 0 read(5, ""..., 4096) = 0 close(5) = 0 munmap(0x7f731ad05000, 4096) = 0 stat("/usr/lib/xen-3.2-1/bin/../lib/python/xen/util/auxbin", 0x7fffffff31a0) = -1 ENOENT (No such file or directory) open("/usr/lib/xen-3.2-1/bin/../lib/python/xen/util/auxbin.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/xen-3.2-1/bin/../lib/python/xen/util/auxbinmodule.so", O_RDONLY) = -1 ENOENT (No such f...