]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
ioemu: set up all xenstore watches even if there are no VBDs.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 28 May 2008 15:36:13 +0000 (16:36 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 28 May 2008 15:36:13 +0000 (16:36 +0100)
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   17746:c2fab221b3ece1ecfc0cb2777655e181925fe340
xen-unstable date:        Wed May 28 12:22:36 2008 +0100

tools/ioemu/xenstore.c

index 3f04908a21050254bb9d68a3affc6fa07a949941..0921cb93d4a9b8bd0fe9072a19f1e35dd3631666 100644 (file)
@@ -108,7 +108,7 @@ void xenstore_parse_domain_config(int domid)
 
     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 */