This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH] Remove improper warning message

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Remove improper warning message
From: "Liu, Jinsong" <jinsong.liu@xxxxxxxxx>
Date: Fri, 7 May 2010 17:06:39 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Fri, 07 May 2010 02:07:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrtxJqXWpxqKS+tSMyfcHwbIgsL3g==
Thread-topic: [PATCH] Remove improper warning message
>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/")))
-    }
     sscanf(vcpustr, "cpu/%u", &vcpu);
     act = xs_read(xsh, XBT_NULL, node, &len);

Attachment: fix-vcpu-hotplug-msg.patch
Description: fix-vcpu-hotplug-msg.patch

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Remove improper warning message, Liu, Jinsong <=