[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] ioemu: set up all xenstore watches even if there are no VBDs.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1211973756 -3600
# Node ID c2fab221b3ece1ecfc0cb2777655e181925fe340
# Parent  132243507b49ab772c34ad986628627998f4f9d1
ioemu: set up all xenstore watches even if there are no VBDs.

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
---
 tools/ioemu/xenstore.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 132243507b49 -r c2fab221b3ec tools/ioemu/xenstore.c
--- a/tools/ioemu/xenstore.c    Wed May 28 11:43:37 2008 +0100
+++ b/tools/ioemu/xenstore.c    Wed May 28 12:22:36 2008 +0100
@@ -112,7 +112,7 @@ void xenstore_parse_domain_config(int hv
 
     e = xs_directory(xsh, XBT_NULL, buf, &num);
     if (e == NULL)
-        goto out;
+        num = 0;
 
     for (i = 0; i < num; i++) {
         /* read the backend path */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.