|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] ioemu: Slightly improve error check in xenstore_vm_w
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
diff --git a/xenstore.c b/xenstore.c
index d30dafa..6bfcdbb 100644
--- a/xenstore.c
+++ b/xenstore.c
@@ -1224,6 +1224,8 @@ int xenstore_vm_write(int domid, const char *key, const
char *value)
int rc = -1;
path = xenstore_vm_key_path(domid, key);
+ if (!path)
+ return 0;
rc = xs_write(xsh, XBT_NULL, path, value, strlen(value));
if (rc == 0) {
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] ioemu: Slightly improve error check in xenstore_vm_write(),
Yosuke Iwamatsu <=
|
|
|
|
|