Displaying 20 results from an estimated 80000 matches similar to: "xenstore permissions"
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
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
2006 Aug 02
0
[PATCH] xenstore-chmod
Hello,
I''ve modified tools/xenstore/xenstore_client.c to include a new utility,
xenstore-chmod. This utility permits developers and administrators to
manually change the permissions on arbitrary locations in XenStore from
the command line. This is often helpful if you''re trying to debug an
application that relies on XenStore and is encountering difficulties
with permissions.
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,
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>
---
2008 Jul 31
1
Can PV Guest use xenbus_printf to write information to xenstore?
Hi :
As I want to know the information of the VMs that currently runing on the
same physical machine, I''d like to get those VM''s information from xenstore,
such as macaddress. Indeed, what I want is IP address, so, if guest can
write things to xenstore, I''d like it write its IP address into xenstore and
let domain0 reads it directly.
So, can anybody tell me whether a PV
2012 Feb 02
0
xenstore-write: could not write path backend/vbd/1/2050/hotplug-error
After a few times of building xen by source, I can''t start domU anyway. I
tried "yum erase xen kernel-xen" and "yum install xen kernel-xen" again,
but the problem is still exist.
There are xenstore-write errors in /var/log/xen/xen-hotplug.log:
xenstore-write: could not write path backend/vbd/1/2050/hotplug-error
xenstore-write: could not write path
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
2008 Apr 08
0
Allow xenstore client utilities to be built statically.
The attached patches enable the xenstore client utilities
(xenstore-read/write and friends) to be built statically and against
uclibc. This is useful for utility domains where a small userspace is
desired.
Both static building with glibc and linking with uclibc seem to have
problems with threading and so the static version of the library is
built without thread support. This is OK since none of
2011 Feb 18
1
xl create dont regiter IP in xenstore.
Hello,
When start a domU through xl create. The domU associated ip in the
configuration file is not recorded in the xenstore. For this reason
vif-common.sh antispoof scripts fails.
*xl create *
/usr/bin/xenstore-ls /local/domain/0/backend/vif/5/0
frontend = "/local/domain/5/device/vif/0"
frontend-id = "5"
online = "1"
state = "4"
script =
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
2005 Aug 08
0
[PATCH] put xenstore headers in linux-public
Directly including ../tools breaks building in separate object tree,
as well as building from mkpatch patch (I believe Rik hit that one).
This puts xenstore headers in linux-public.
Signed-off-by: Chris Wright <chrisw@osdl.org>
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/Makefile Mon Aug 8 18:43:57 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/Makefile Mon Aug 8 15:15:06 2005
@@
2007 Jul 10
0
[PATCH][xenstore] adds a -w (wide) flag to xenstore-ls to support seeing full contents of xenstore entries
This patch (fundamentally) adds support to display the full contents of
the xenstore directory entries. During some recent testing, the values
of interest were always beyond the ..., so I added -w to override
truncation. There is a bit of code cleanup as well (snprintf vs.
sprintf), one formatting fix, and comments).
There is no change to the behavior of xenstore-ls without -w.
2011 Feb 18
0
xl create don''t register IP in xenstore. vif-common.sh antispoof scripts fails [SOLVED]
When start a domU through xl create. The domU associated ip in the
configuration file is not recorded in the xenstore. For this reason
vif-common.sh antispoof scripts fails.
*xl create *
/usr/bin/xenstore-ls /local/domain/0/backend/vif/5/0
frontend = "/local/domain/5/device/vif/0"
frontend-id = "5"
online = "1"
state = "4"
script =
2009 Nov 16
0
Can some help me about "xenstore-write"?
Hi all,
I installed a Redhat 5.3, and created a VM with guest OS
"Redhat AS release 4". Unfortunately, I found that "xenstore-write"
doesn''t work any more. For example,
#xenstore-write /local/domain/56/vm-data/ipaddress 172.17.15.62
Could not write path /local/domain/56/vm-data/ipaddress
From the website, I saw that it is a bug
2011 Jun 27
1
[PATCH v3] xen_disk: cope with missing xenstore "params" node
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
When disk is a cdrom and the drive is empty the "params" node in
xenstore might be missing completely: cope with it instead of
segfaulting.
Updated in v2:
- actually removed the strchr(blkdev->params, '':'') that caused the
segfault;
- free all the allocated strings from xenstore before returning;
2005 Jun 09
1
[PATCH] more xenstore makefile fixes
This allows tools in the python directory to properly link to
libxenstore.a on x86-64.
--- tools/xenstore/Makefile.orig 2005-06-09 12:56:34.000000000
-0500
+++ tools/xenstore/Makefile 2005-06-09 13:48:06.000000000 -0500
@@ -20,6 +20,9 @@
BASECFLAGS+= -I.
CFLAGS+=$(BASECFLAGS)
+ifeq ($(XEN_TARGET_ARCH),x86_64)
+CFLAGS += -fPIC
+endif
LDFLAGS=$(PROFILE) -L$(XEN_LIBXC)
2008 Sep 16
1
XenStore
Hi,
I was wondering if somebody could help me! I''m trying to write to the
xenstore from a domU and read what I have written from inside another domU.
I seem to have some permission problems....? Is there a place within
xenstore that anybody can write to and read from?
Thanks
Julian
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2010 Jul 12
0
xenstore-write segfault
Hi All ,
I am using xen 3.2.0 which i have built form source ,I could
initially boot Dom 0 and some DomUs.
But today when i tried to boot a DomU with birdge enabled it
didnt work giving an error ....
Error: Device 0 (vif) could not be connected. Hotplug scripts
not working.
After that I checked my var/log/messages and It gave lots of
xenstore-write
2010 Aug 09
1
How does domain0 export information to guest through xenstore
Hi,
I am tring to write xenstore some information ,so that a guest can read, if i simply xenstore-write /foo "123" in domain 0, guest have not the permission to read this ,and guest domain number are dynamic, so i can not write a program to write /local/domain/X, which X is the domain id i want to export information to, can i ?
So, is there a path (a static path,without domain