Displaying 20 results from an estimated 30000 matches similar to: "userspace xenstore watch"
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
2010 Aug 21
6
oxenstored in stubdom ?
Hi,
recently on irc channel (##xen) was some "discussion" about xen vs kvm...
There was idea that it would be nice if domUs could survive dom0 restart, but
this needs, for example, to have xenstored running in separate domain.
In 2009 Alex Zeffertt posted some patches
(http://lists.xensource.com/archives/html/xen-devel/2009-04/msg00696.html) to
add this functionallity, but they
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
2007 Sep 11
6
xs transaction
Seems currently xenstore transaction provides confusing message
in different places:
a) comment of xs_transaction_start says "You can only have one
transaction at any time." However do_transaction_start allows up to
10 transactions created, as long as all other existing transaction
channel is idle at the time (conn->transaction == NULL)
b) when multiple transactions can be
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
2006 Feb 22
2
use case for exposing xenstore attributes via sysfs [long]
I''ve seen some people asking why exposing xenstore attributes via sysfs
could be useful. Here''s why I would really like to see such a patch
make it into Xen:
I''ve been working on getting domU''s to know enough about themselves to
be manageable. I require a 128-bit UUID for each domU, and I require
that each domU be able to determine its own UUID in userspace.
2005 Dec 15
10
watches not working from domU userspace
It seems that xenstore watches do not work from domU userspace (they
obviously do for drivers).
In some preliminary debugging of this, there are two aspects of the
failure: not sending the watch to xenstore and not handling watch
events for userspace watches. The former can be easily fixed by adding
the missing ''case XS_WATCH:'' to xenbus_dev_write() in xenbus_dev.c.
The
2011 Feb 08
8
XEN 4.0.2-rc2 - using OCAML xenstored -- xend not starting?
Hi All,
I just tried a new installation of Ubuntu 10.04 (64bit) + Xen and am
having some trouble starting XEN. I am using the latest mercurial checkout
(4.0.2-rc2) and the only change I made was to Config.mk to enable building
the OCAML version of xenstored. " CONFIG_OCAML_XENSTORED ?= y". I am using
the same kernel I built earlier for a similar Ubuntu 10.04-64bit / Xen
4.0.0
2011 Nov 15
6
[OCAML 0/7] Xen ocaml library packaging
This is an update to the patches sent out on 25th October. I expect,
as before, that some of the larger patches won't get to the list so
they are also available here:
https://github.com/jonludlam/pkg-xen/commits/for-debian6.
Changes since last mail:
* I have split out the unrelated change to include 2 extra header files
in libxen-dev
* I have removed some instances of brace expansion
2011 Nov 29
6
[OCAML 0/7] V4 or so of the xen ocaml packaging patches
Here is the latest version of the patches to package the ocaml libraries. Changes
since last time:
* rename the packages from libxen-4.1-ocaml* to libxen-ocaml* - we wont be
looking to install multiple concurrent versions of the same package, so
the version doesn't need to be in the package name
* Removed superfluous GENCONTROL definitions - dh_ocaml does what we need
* Removed
2006 Jan 23
2
linux-2.6-xen.hg: Selecting "Xen-compatible" subarchitecture makes most of the drivers unselectable
Hi list!
What''s the correct way to solve this problem? When you select
"Xen-compatible" subarchitecture most of the drivers (network,scsi,etc) disappear from the
menuconfig..
Currently linux-2.6-xen.hg repository is unusable (as is).. for dom0 and
domU also.
-- Pasi Kärkkäinen
^
. .
2009 Aug 06
18
XCI: can we get to the demo state?
Hello XCI developers,
I have a HP6930, downloaded xenclient from the git. And by following the instruction in HOWTO, I could get xenclient boot up fine. I try then to start a guest using xenvm.readme as template and nothing shows on the screen for the guest, although xenops shows 2 doms running.
Can you point me to how to start a guest. And also, is the tree downloaded from git enough to arrive
2006 Jan 04
2
[PATCH] Fix leak in blkback initialization
In case of failing due to lack of memory in the system, blkif_init
potentially leaves a leak if some of the allocations was sucessfully
suceeded.
This patch frees the memory allocated, avoiding the leak.
Signed-off-by: Glauber de Oliveira Costa <glommer@br.ibm.com>
--
glommer
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2005 Dec 07
3
2.0-testing for linux-2.6.14
Hi there,
is there any chance that you update xen-2.0 branch for newer 2.6 linux
kernels? I know xen-3.0 is now out, but we''re not going to upgrade our
production systems as yet. We''d rather stick with 2.0(-testing) and
newer kernels for some more if possible.
Thanks!
Michal Ludvig
--
* Personal homepage: http://www.logix.cz/michal
2005 Aug 12
2
[PATCH] %fs/%gs cleanup in mmu_context.h
Small change to remove difference between Xen and mainline deactivate_mm.
While there, cleanup prepare_arch_switch as well. This generates
identical code.
Signed-off-by: Chris Wright <chrisw@osdl.org>
---
diff -r ba46bd7f5cdf linux-2.6-xen-sparse/include/asm-xen/asm-i386/mmu_context.h
--- a/linux-2.6-xen-sparse/include/asm-xen/asm-i386/mmu_context.h Fri Aug 12 15:59:34 2005
+++
2007 Jan 29
5
Permission denied in domain_sched_credit_set
Some time in the last few dozen changesets (I''m at 13662:5bb084098493
now) I''ve started getting this error on xm create:
[2007-01-29 12:23:41 7373] ERROR (__init__:1072) (13, ''Permission denied'')
Traceback (most recent call last):
File "/home/brendan/dev/xen/xen-ss.hg/dist/install/usr/lib/python/xen/xend/Xen
dDomain.py", line 1364, in
2010 Jun 28
8
[PATCH] add xl ocaml bindings
Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
---
tools/ocaml/Makefile | 2 +-
tools/ocaml/common.make | 2 +-
tools/ocaml/libs/xl/xl.ml | 209 ++++++++++++
tools/ocaml/libs/xl/xl.mli | 209 ++++++++++++
tools/ocaml/libs/xl/xl_stubs.c | 706 ++++++++++++++++++++++++++++++++++++++++
5 files changed, 1126 insertions(+), 2 deletions(-)
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
2008 Aug 02
1
XenStore communication
Hi,
I want to know how everything communicates with XenStore.
Do domUs use the front-end/back-end driver to dom0 and then the back-end
driver contacts xenstored?
In particular, how do the xenstore-* commands work on a dom0 and domU?
And when should unix-domain sockets be used to communicate with xenstored?
Thanks,
Hayawardh
_______________________________________________
Xen-users mailing
2011 Oct 25
14
[PATCH 0/9] Package the ocaml libraries
The following set of patches package up the ocaml libraries that are
part of the standard xen build. The patches are also currently available
at: https://github.com/jonludlam/pkg-xen/commits/for-debian
There are some things to note:
1. The 5 patches imported from xen-unstable are not, and will not go
into the xen-4.1-stable series. However, the patches were created
at the request of the