similar to: Question on Xenstore watch

Displaying 20 results from an estimated 7000 matches similar to: "Question on Xenstore watch"

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
2011 Jun 09
2
Help with xend on ubuntu Dom0
Hello, I am tryiong to set up a Dom0, right now my problem is creating the first guest. This is xen unstable tip ubuntu running jeremy kernel I have this: daniel@dani-ubuntu-xen:/usr/sbin$ sudo xm info [sudo] password for daniel: Error: Unable to connect to xend: No such file or directory. Is xend running? daniel@dani-ubuntu-xen:/usr/sbin$ Yet, xl reports this: daniel@dani-ubuntu-xen:/usr/sbin$
2011 Sep 20
17
Sched_op hypercall small questions
Greetings all. Some small question regarding schedule poll operation hypercall. 1. struct sched_poll poll.timeout is measured in what unit of time? Secs, ms? ns? 2. After issuing the hypercall_sched_op(SCHEDOP_poll, &poll); if no timeout is used in poll struct how long will I yield the CPU? 3. If I issue the hypercall and the event never comes is it possible to to yield the CPU for ever?
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 May 07
14
Little help with blk ring
Hello List, I have a small problem with the ring when transferring blocks the id on the response is different from the request. This is the boot up read, count 0. The guest requests block 0, it has to be located at 7c00. I go ahead and create a REQUEST with this data: ring_req = RING_GET_REQUEST(priv,priv->req_prod_pvt); ring_req->id = 9; ring_req->nr_segments=1; ring_req->operation
2011 Sep 23
7
Storage Recommendations
Hello, We are going to buy some NFS storage for 6-8 VMs on a single host, but want to expand to a second host. What storage recommendations would you give if you have between 2000 and 5000 USD? How about nexenta? what hardware would you use? any vendor? Experiences with openfiler and opennas? Thanks for the responses. Daniel -- +-=====---------------------------+ |
2012 Jun 06
3
[PATCH 0 of 2 V3] xs: fixes to watch thread creation
A pair of patches to the xenstore library that: 1) blocks signal delivery before creating the watch wakeup thread 2) reduces the stack size of the watch wakeup thread.
2012 Dec 13
4
[PATCH V3] libxenstore: filter watch events in libxenstore when we unwatch
XenStore puts in queued watch events via a thread and notifies the user. Sometimes xs_unwatch is called before all related message is read. The use case is non-threaded libevent, we have two event A and B: - Event A will destroy something and call xs_unwatch; - Event B is used to notify that a node has changed in XenStore. As the event is called one by one, event A can be handled before
2011 Jul 27
3
Help debugging domain builder, qemu upstream and hvmloader
Hello All, I run into this problem when I modify seabios. (XEN) hvm.c:1131:d13 Triple fault on VCPU 0 - invoking HVM system reset. Since there is no fault handlers in the early stages of guest boot I am in the need to debug the domain builder, upstream qemu and/or hvmloader to see where exactly the fault is being generated. I have no experience on debugging and this seems like a good time to
2011 Nov 10
5
Grant a partial page
Hello, I to issue a grant on a page, but only partially. I have a pointer to somewhere in memory and need to issue the grant for such a pointer but not to the entire page. I know FLAG GTF_sub_page is used for that purpose but grant_entry_v1 apparently has no fields for sub_page, should I change the code to use Version 2 grant table entries? Thanks, Daniel -- +-=====---------------------------+
2012 Sep 25
2
[PATCH V2] libxenstore: filter watch events in libxenstore when we unwatch
While on entry to xs_unwatch, there may be an event on its way from xenstored (eg in the ring or in the local kernel), all such events will definitely come before the reply to the unwatch command. So at the point where the unwatch reply has been processed (after xs_talkv), any such now-deleted watch events will definitely have made it to libxenstore''s queue where we can remove them. As
2011 Dec 09
0
PV Ubunut with some network issues
Hello All, I am experiencing some network issues on a PV-Ubuntu Lucid. The network interface looses connectivity and requieres a network restart in order to get it again... The kernel version is 2.6.32-36 generic The machine in questions sometimes can ping out, but no network comes in... There are HVM machines on the same host and they work without problems... This machine has to be PV since it
2012 Feb 11
3
which linux distribution for XEN
Hello, I want to change XEN source code after that I will copile it, and I will survey change''s effect. I have ubuntu 11.4 and centos 5.2. Which of the linux distributions is suitable for my job? thanks _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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
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 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
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
2011 May 26
2
virtual bios question
Hi, when user create the virtual machine, then: which code execute firstly, hvmloaer or qemu-dm?I have traced the codes flow and found qemu-dm run before hvmloader,right? And virtual bios code are both in hvmloader and qemu-dm, but I think it should be only one of virtual bios will be used to initialize the virutal device in qemu-dm.I find at the end of hvmloader it will jmp to 0xffff0, that
2010 Sep 02
7
[PATCH] libxl: make libxl communicate with xenstored by socket or xenbus driver
Hi, George sent a patch on this problem before, but it was not completed. This patch makes libxl use xenbus to communicate with xenstored if libxl cannot open a socket. There''s a place that does not close fd in the case of failure, which is also fixed in this patch. -----------------------------------------Patch------------------------------------------------------ diff -r eff592364826
2013 Feb 14
5
using @releaseDomain to subscribe for domain destruction
Hello!. How can i use @releaseDomain from dom0 to subscribe for domain destruction? I''m try to add watch for @releaseDomain path with token equal of needed domain id. But when another domain dies, i get domain that i provide via token to xs_watch. Is that possible to get id of domain what released from xenstore? -- Vasiliy Tolstov, Clodo.ru e-mail: v.tolstov@selfip.ru jabber: