ioemu: set up all xenstore watches even if there are no VBDs.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 28 May 2008 11:22:36 +0000 (12:22 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 28 May 2008 11:22:36 +0000 (12:22 +0100)
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
tools/ioemu/xenstore.c

index 551190e86cfb09cf50e11741baa355d57d53ccb9..aa8c894d0fb8331fd8f7bf313520625cc5a1adbd 100644 (file)
@@ -112,7 +112,7 @@ void xenstore_parse_domain_config(int hvm_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 */