search for: xswatch

Displaying 15 results from an estimated 15 matches for "xswatch".

Did you mean: xs_watch
2008 May 21
1
[PATCH]Remove XendLogging dependency from xswatch
Hi, xstransact and xswatch are well designed python interface that can be used by third party utils rather than only in xend. But the logging approach here binds xswatch to xend and prevent it from being used by other utils. This patch removes the dependency on XendLogging from xswatch. Signed-off-by: Zhigang Wang <zhig...
2005 Nov 10
0
Xend crashes when it''s trying to create domU
...string, not None'' is observed when trying to create domU. (5) xend.log: [2005-11-09 16:05:02 xend] INFO (SrvDaemon:268) Xend Daemon started [2005-11-09 16:05:02 xend] INFO (SrvDaemon:272) Xend changeset: Mon Oct 31 16:14:59 2005 +0100 7583:6be0d21bb863. [2005-11-09 16:05:02 xend] DEBUG (xswatch:27) Jean: path = @releaseDomain [2005-11-09 16:05:02 xend.XendDomainInfo] DEBUG (XendDomainInfo:168) XendDomainInfo.recreate({''paused'': 0, ''cpu_time'': 14565014309814L, ''ssidref'': 0, ''handle'': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
2007 Jan 10
1
xenstore watch for domU shutdown
...is attached below. As is, if fails to call the registered watch function on a domain shutdown. Any help or suggestions would be greatly appreciated. Thanks! ~Dave #####################BEGIN CODE############################## from xen.xend.xenstore.xsutil import * from xen.xend.xenstore.xswatch import * from sys import argv from xen.xend.xenstore.xstransact import xstransact #domid of the domU guest domid = int(argv[1]) xs = xshandle() path = xs.get_domain_path(domid) def myHandleShutdownWatch(_): f = open("/scratch/TEST", "w") f.write("Shut...
2006 Jan 12
4
Basic xenstore questions (building a watchdog)
I''m looking at building a xenstore-based watchdog, as described at http://lists.xensource.com/archives/html/xen-users/2005-07/msg00597.html However, being somewhat new to xenstore, I''d appreciate some pointers. - What portions of the xenstore namespace should I use? I''m looking for at least two settings writable by the DomUs: A flag to enable/disable the watchdog
2007 Jun 15
0
Exception starting xend ((11, ''Resource temporarily unavailable''))
...uot;, line 116, in init dom0 = XendDomainInfo.recreate(dom0info, True) File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 186, in recreate vm._registerWatches() File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 757, in _registerWatches self.vmWatch = xswatch(self.vmpath, self._storeChanged) File "//usr/lib/python/xen/xend/xenstore/xswatch.py", line 35, in __init__ xs.watch(path, self) Error: (11, ''Resource temporarily unavailable'') [2007-06-14 05:02:02 xend 26519] INFO (SrvDaemon:218) Xend exited with status 1. Pranav...
2006 Aug 08
11
architecture-specific stuff in xend
Hi Ewan, I''m almost ready to integrate some PPC-specific stuff into xend, and I was wondering if you had a plan for how that should work. First example: the device tree data structure we talked about a few weeks ago. We will need to pass the config data to PPC code, probably in XendDomainInfo.initDomain(), and then pass the resulting data structure into libxc''s xc_linux_load()
2006 Jul 25
2
Compile from sources
I''ve compiled xen-3.0.2-2 from sources. I''ve went to the end without errors. The ./install.sh script have been created the /etc/grub.conf file as it : # initrd /boot/initrd-version.img #boot=/dev/hdc default=0 timeout=5 splashimage=(hd0,0)/boot/grub/splash.xpm.gz hiddenmenu title Fedora Core (2.6.15-1.2054_FC5) root (hd0,0) kernel
2010 Jun 10
0
a question about xenstore watch function
Hi,I want to watch a xenstore node,when the value of the node is changed I will be noticed. So I use the xswatch function. I use the python template of the http://wiki.xensource.com/xenwiki/XenStoreReference. However, it is weird that when the xenstore node changed, the call back function is never called. Thanks! _______________________________________________ Xen-users mailing list Xen-users@lis...
2008 Oct 28
0
[PATCH] Fix typo in waitForBackend() for phantom VBDs
...ter string. diff -r 8d41996e6897 tools/python/xen/xend/server/DevController.py --- a/tools/python/xen/xend/server/DevController.py Mon Oct 27 18:51:52 2008 +0000 +++ b/tools/python/xen/xend/server/DevController.py Tue Oct 28 09:14:53 2008 +0900 @@ -542,7 +542,7 @@ class DevController: xswatch(statusPath, hotplugStatusCallback, ev, result) ev.wait(DEVICE_CREATE_TIMEOUT) err = xstransact.Read(statusPath, HOTPLUG_ERROR_NODE) - if result[''status''] != ''Connected'': + if result[''status''] != Co...
2006 Nov 24
0
Error: (12, ''Cannot allocate memory'')
...fo 3162] DEBUG (XendDomainInfo:1449) XendD omainInfo.destroy: domid=4 [2006-11-22 23:42:34 xend.XendDomainInfo 3162] DEBUG (XendDomainInfo:1457) XendD omainInfo.destroyDomain(4) [2006-11-22 23:42:34 xend 3162] DEBUG (image:479) hvm shutdown watch unregistere d [2006-11-22 23:42:34 xend 3162] ERROR (xswatch:70) read_watch failed Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xswatch.py", line 66, in watchMain res = watch.fn(we[0], *watch.args, **watch.kwargs) File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 489, i...
2007 Jul 15
0
virtman breaks after installing XEN 3.1 on SELS 10.1
...tests.test_sxp xen.xend.tests.test_uuid xen.xend.uuid - Universal Unique Identifiers (UUIDs). By default, UUIDs generated here are xen.xend.xenstore (package) xen.xend.xenstore.tests (package) xen.xend.xenstore.tests.stress_xs xen.xend.xenstore.xstransact xen.xend.xenstore.xsutil xen.xend.xenstore.xswatch xen.xm.XenAPI xen.xm (package) xen.xm.addlabel - Labeling a domain configuration file or a resource. xen.xm.cfgbootpolicy - Configuring a security policy into the boot configuration xen.xm.console xen.xm.create - Domain creation. xen.xm.dry-run - Tests the security settings for a domain and its res...
2005 Nov 14
0
Xend fails to start on newly compiled xen dom0 kernel
...(most recent call last): File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap self.run() File "/usr/lib/python2.4/threading.py", line 422, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xswatch.py", line 63, in watchMain watch.fn(*watch.args, **watch.kwargs) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 98, in onReleaseDomain self.refresh(cleanup=True) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 270, in r...
2007 Feb 26
2
[PATCH 0 of 2] Parse image elfnotes, write them to xenstore, save and load via image sxpr
Here are two patches that let xm create, save and restore extract and preserve elfnotes read by the domain builder. This is handy for a few things. In particular, I''d like it so that xm can decide whether or not guest domains support fast resume (if save fails, or for checkpointing). _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2005 Nov 13
17
Working hotplug, but still timing out waiting for vbd device
I''m running Xen3 7775 with udev 073 (which was a PITA to get working, as the initrd I''ve been running for quite some time uses an older one -- but that''s an entirely different story). My dom0 is Gentoo-based. When I try to start a DomU, it times out waiting for hotplug-based notification, as per the following: DEBUG (DevController:69) Waiting for devices vif. DEBUG
2005 Nov 13
17
Working hotplug, but still timing out waiting for vbd device
I''m running Xen3 7775 with udev 073 (which was a PITA to get working, as the initrd I''ve been running for quite some time uses an older one -- but that''s an entirely different story). My dom0 is Gentoo-based. When I try to start a DomU, it times out waiting for hotplug-based notification, as per the following: DEBUG (DevController:69) Waiting for devices vif. DEBUG