Displaying 20 results from an estimated 50000 matches similar to: "a question about xenstore watch function"
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 Jan 10
1
xenstore watch for domU shutdown
Hey everyone,
I''m trying to write a simple python program in dom0 that registers a watch on the xenstore to determine when a domU has shutdown. Is there a particular token I should use? Looking through the tools/python/xen/*.py code, I''ve come across the ''control/shutdown'' token... seems promising?
My code is attached below. As is, if fails to call the
2005 Nov 10
0
Xend crashes when it''s trying to create domU
Hi, every one:
I had problem creating domU on diskless device by
using xen-unstable. Following, please find out
details. BTW, the same configuration works fine on
device with hard disk
(1) Xen, dom0 kernel and dom0 root file system are
loaded/mounted over via eth0
(2) DomU root file system is created in a file-backed
virtual block device(VBD). The file-backed VBD locates
at some directory on
2011 Sep 23
1
Question on Xenstore watch
Hello All,
I am trying to set up a watch on xentore. According to the
documentation xenstore.txt a watch is simply done with the path to the
node that the path is going to set, but according to the definitive
guide to xen, it is done like a write, path to node and key to be
watched. I have tried both and both fail. Probably I have something
wrong but it helps to know the correct format. Which
2006 Dec 11
3
userspace xenstore watch
Hey all,
Can anyone give me pointers on how (or whether it''s
possible) to set up a watch on an item in the xenstore
from a userspace program in domU? Any help would be
greatly appreciated. Thanks!
~Dave
____________________________________________________________________________________
Need a quick answer? Get one in minutes from people who know.
Ask your question on
2008 Sep 17
1
How do you change XenStore permissions?
Hi,
Is there a way to change the permission for a specific path in XenStore? And
can you do that from with in a C program?
Thanks
Julian
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2007 Jun 15
0
Exception starting xend ((11, ''Resource temporarily unavailable''))
Hi
I tried building xen on my IA64 machine. It builds and installs smoothly.
But I have not been able to start xend.
I get the error in /var/log/xen/xend.log as below:
[2007-06-14 05:02:01 xend 26504] WARNING (XendAuthSessions:27) python-pam is
required for XenAPI support.
[2007-06-14 05:02:01 xend 26520] INFO (SrvDaemon:322) Xend Daemon started
[2007-06-14 05:02:01 xend 26520] INFO
2006 Aug 02
2
[PATCH][RFC] permit domU userspace to watch xenstore
Hello,
This patch allows userspace tools on a domU to setup a watch on
the xenstore. It does this by intercepting XS_WATCH requests written
to /proc/xen/xenbus and then re-submitting the request to the in-kernel
xenstore interface, in
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c. When a callback
occurs, an in-kernel function is invoked, which then reconstructs a
response in the format
2012 Mar 23
2
Xenstore daemon is not running after boot; although can be started manually later. Any pointers why ?
Hello,
I build and installed Xen (4.1.3) from source, and I think I have got it
working. Well, almost.
I am using unmodified kernel of Fedora16 as my dom0 kernel.
So this is what happened.
I am able to boot into Xen, but the "xl info" failed with the standard
error message mentioned in the tutorial.
"libxl: error: libxl.c:56:libxl_ctx_init Is xenstore daemon running?
failed to
2012 Mar 23
2
Xenstore daemon is not running after boot; although can be started manually later. Any pointers why ?
Hello,
I build and installed Xen (4.1.3) from source, and I think I have got it
working. Well, almost.
I am using unmodified kernel of Fedora16 as my dom0 kernel.
So this is what happened.
I am able to boot into Xen, but the "xl info" failed with the standard
error message mentioned in the tutorial.
"libxl: error: libxl.c:56:libxl_ctx_init Is xenstore daemon running?
failed to
2013 May 15
6
xenfs: race condition on xenstore watch
Dear xen-devel,
There''s a race condition in xenfs (xenstore driver) that causes
userspace utility xenstore-watch to crash.
Normally, the userspace process gets an "OK" from xenfs and then the
watch fires immediately after. Occasionally, this happens the other way
around: the watch fires before the driver sends "OK", which confuses
the xenstore-watch client. It seems
2005 Nov 14
0
Xend fails to start on newly compiled xen dom0 kernel
Hello:
I just gave 3 tries at compiling a xen kernel. I
managed to get the networking in the host to work ok
on the third try, unfortuately xend gives me the
following errors in my xend.log and will not start.
Any ideas?
It fails to start with the following error
----------------------------------------------------
/usr/sbin/xend
[root@localhost ~]# /usr/sbin/xend start
Traceback (most recent
2005 Aug 04
0
[PATCH 5/11] Fix bug where watch messages didn''t go out to domains, causing them to get stuck.
# HG changeset patch
# User Rusty Russell <rusty@rustcorp.com.au>
# Node ID ba5d5bd28edf8bce89bdf9fc64047ee4f1dceded
# Parent d4ab9ac93104a13a09ebfaa2384281c4e3392e3f
Fix bug where watch messages didn''t go out to domains, causing them to get stuck.
Also, change xs_test to more closely reflect xenbus behaviour to exhibit bug.
Signed-off-by: Rusty Russell
2005 Aug 04
0
[PATCH 6/11] Xenstore watch rework
# HG changeset patch
# User Rusty Russell <rusty@rustcorp.com.au>
# Node ID b0de1894df67ac7c7d905bf61cdf0210b42752cc
# Parent ba5d5bd28edf8bce89bdf9fc64047ee4f1dceded
Xenstore watch rework
Change watches to all fire simultaneously, removing priority argument.
Watches no longer fired back to connection/domain which caused event.
Fix up testsuite to match
Use state enum, rather than return
2010 Aug 03
1
oops when access xenstore in hvm guest
Hi,
I use follow code get xenstore ring and event channel, then i wrapped writing and reading function to operate it ,but it came to oops:
struct xenstore_domain_interface {
char req[XENSTORE_RING_SIZE]; /* Requests to xenstore daemon. */
char rsp[XENSTORE_RING_SIZE]; /* Replies and async watch events. */
XENSTORE_RING_IDX req_cons, req_prod;
XENSTORE_RING_IDX rsp_cons,
2012 Mar 22
1
Question: How to see existing xenstore watches
Hi,
for debugging purposes I would like to see the existing xenstore watches and
the waiters for the watch.
The problem is, we got a EEXIST from xenstored while trying to set a watch
from our guest.
Is there a possibility to see this on the running xenstored?
Thanks.
Dietmar.
--
Company details: http://ts.fujitsu.com/imprint.html
2011 Mar 30
2
[PATCH] xenstore-stat v2
The entries in xenstore have permission attributes. The
attributes can be easily altered by xenstore-chmod, however,
I cannot find a easy way to see them.
I''ve modified xenstore_client.c to raise a new utility.
The utility checks the permission and makes an easy-look output.
Please tell me any suggestions.
Thanks.
Signed-off-by: Frank Pan <frankpzh@gmail.com>
---
2009 Jul 02
1
xensource Wiki - cannot edit pages
Hi,
I wondered why the pages on the Wiki are immutable?? The page
http://wiki.xensource.com/xenwiki/XenStoreReference contains an
errorneous Python example and I want to correct it. Does anybody have
access to the Wiki? (and yes, I just created an account)
Cheers
Andreas
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
2008 Oct 21
1
Xenstore access permission to a specific domain
I understand that "xenstore-chmod XENSTOREPATH perm" will allow xenstore access to each other domains according to the permissions set.
But if I need to permit access to a specific domain which will avoid a global permit access, is there a way?
Thx,
Venkat
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2005 Sep 10
2
watch event for die domain ?
Hi,
I am writing a small application to watch for xenstore events. I want
to know when a specific domain shutdown or reboot. It is best to watch
it via xenbus interface, but how? Is there any event or node can give
me such an event?
If not, I must periodically scan the domains (using libxc interface)
to detect if a domain dies, but that is not as good as xenbus
approach.
Many thanks.
Hieu