>From 9c5a65d829928d0242606c0ff5d8b39e84622b29 Mon Sep 17 00:00:00 2001
From: Liu, Jinsong <jinsong.liu@xxxxxxxxx>
Date: Fri, 7 May 2010 15:46:23 +0800
Subject: [PATCH] Remove improper warning message
Remove improper warning because xend may acess
local/domain/domid/cpu/ node , like when system booting
Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx>
---
xenstore.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/xenstore.c b/xenstore.c
index 43d30ee..ad69d5f 100644
--- a/xenstore.c
+++ b/xenstore.c
@@ -950,11 +950,8 @@ static void xenstore_process_vcpu_set_event(char **vec)
char *vcpustr, *node = vec[XS_WATCH_PATH];
unsigned int vcpu, len;
- vcpustr = strstr(node, "cpu/");
- if (!vcpustr) {
- fprintf(stderr, "vcpu-set: watch node error.\n");
+ if (!(vcpustr = strstr(node, "cpu/")))
return;
- }
sscanf(vcpustr, "cpu/%u", &vcpu);
act = xs_read(xsh, XBT_NULL, node, &len);
--
1.5.6.4
fix-vcpu-hotplug-msg.patch
Description: fix-vcpu-hotplug-msg.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|