From: Keir Fraser Date: Wed, 28 May 2008 11:22:36 +0000 (+0100) Subject: ioemu: set up all xenstore watches even if there are no VBDs. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14207^2~15 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=32c028cd83f268e170a7afa73a9ddbc2bca12eb5;p=xen.git ioemu: set up all xenstore watches even if there are no VBDs. Signed-off-by: Tim Deegan --- diff --git a/tools/ioemu/xenstore.c b/tools/ioemu/xenstore.c index 551190e86c..aa8c894d0f 100644 --- a/tools/ioemu/xenstore.c +++ b/tools/ioemu/xenstore.c @@ -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 */