Displaying 20 results from an estimated 10000 matches similar to: "Accessing xenstore from libvirt"
2016 Mar 30
1
Re: Accessing xenstore from libvirt
Daniel P. Berrange wrote:
> On Wed, Mar 30, 2016 at 10:53:45AM +0200, Marin Bek wrote:
>> Hi,
>>
>> is it possible to access xenstore through libvirt? Or at least any other
>> programatic means other than calling xenstore-read/write through shell?
>>
>> I understand it is somewhat of a security risk but still...
>
> No, we don't expose this kind of
2016 Mar 30
0
Re: Accessing xenstore from libvirt
On Wed, Mar 30, 2016 at 10:53:45AM +0200, Marin Bek wrote:
> Hi,
>
> is it possible to access xenstore through libvirt? Or at least any other
> programatic means other than calling xenstore-read/write through shell?
>
> I understand it is somewhat of a security risk but still...
No, we don't expose this kind of capability at this time
Regards,
Daniel
--
|:
2013 Jul 06
1
[PATCH 1/2] xenstore: don't die on access-denied child nodes in 'xenstore ls'
Signed-off-by: Matthew Daley <mattjd@gmail.com>
---
tools/xenstore/xenstore_client.c | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/tools/xenstore/xenstore_client.c b/tools/xenstore/xenstore_client.c
index 3ac214b..996ee64 100644
--- a/tools/xenstore/xenstore_client.c
+++ b/tools/xenstore/xenstore_client.c
@@ -134,8 +134,13 @@ static void do_ls(struct
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>
---
2012 Aug 24
2
Bug#666135: XenStore tdb vs. reboot
Hello,
I noticed a strace delay when running "virsh list" on my Xen-4.1.3 test
server. On further investigation I noticed that in XenStore there were
multiple /vm/$UUID entries suffixed by -$VERSION, especially I hat 16 entries
for my dom0. For each reboot of the host I get a new entry.
After disabling Xend I get the following output after a reboot:
> root at xen5:~# xenstore-ls
2012 Aug 24
2
Bug#666135: XenStore tdb vs. reboot
Hello,
I noticed a strace delay when running "virsh list" on my Xen-4.1.3 test
server. On further investigation I noticed that in XenStore there were
multiple /vm/$UUID entries suffixed by -$VERSION, especially I hat 16 entries
for my dom0. For each reboot of the host I get a new entry.
After disabling Xend I get the following output after a reboot:
> root at xen5:~# xenstore-ls
2011 Oct 03
2
Bug#644125: xenstore-utils has completely inadequate description
Package: xenstore-utils
Version: 4.0.1-2
all it says is:
"Description: Xenstore utilities for Xen
This package contains the Xenstore utilities."
Wow, i never would have guessed that a package called xenstore-utils
might contain Xenstore utilities. I'm glad that's cleared up!
that just leaves a few tiny, niggling questions:
1. WTF are the Xenstore utilities?
2. What are
2023 May 23
5
Bug#1036601: xenstore-utils: missing Depends: xen-utils-common
Package: xenstore-utils
Version: 4.17.0+74-g3eac216e6e-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package ships (or creates)
a broken symlink:
0m15.9s ERROR: FAIL: Broken symlinks:
/usr/bin/xenstore-control -> ../lib/xen-common/bin/xen-utils-wrapper (xenstore-utils)
cheers,
Andreas
2016 Apr 01
1
Using virDomainInterfaceAddresses
Hi,
I'm trying to use virDomainInterfaceAddresses to get interface info for XEN
DOMs but keep getting following error:
libvirt: Domain Config error : this function is not supported by the
connection driver: virDomainInterfaceAddresses
I tried recompiling libvirt with ./configure --with-interface
--with-network and it all went fine but still no luck.
Am i missing something?
Thanks,
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
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.
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
2012 Feb 22
1
xenstore build failure
Hi,
xenstore fails to build:
init-xenstore-domain.c:11:32: error: xen/sys/xenbus_dev.h: No such file
or directory
init-xenstore-domain.c: In function ''build'':
init-xenstore-domain.c:37: error: ''IOCTL_XENBUS_BACKEND_SETUP''
undeclared (first use in this function)
Christoph
--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
2008 Oct 07
3
Creating a custom directory tree inside Xenstore
Is it possible to create a custom directory tree inside Xenstore using any of the Xenstore-utilities??
For example, "/local/domain/0/Customdir".
Thx,
Venkat
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2012 Jul 27
3
Xenstore restart
Hi,
I am using xen-4.1-testing with Linux 3.4.3. The hotplug script
xencommons echoes that xenstore is not restartable. Can anyone tell me
the exact reason why it is not restartable. I tried to restart
xenstore by killing the xenstore and restarting it with xencommons but
after that VM creation doesn''t work. I used to do the same with the
setting <xen-3.4+Linux-2.6.18> and it used
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
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
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
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 =