From: Ian Jackson Subject: Re: [PATCH] qemu-xen: fix cpu hotplug Date: Thu, 2 Sep 2010 18:30:01 +0100 Message-ID: <19583.57113.276530.834290@mariner.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: "Liu, Jinsong" , xen-devel@lists.xensource.com, "Li, Xin" , "Jiang, Yunhong" List-Id: xen-devel@lists.xenproject.org Stefano Stabellini writes ("[Xen-devel] [PATCH] qemu-xen: fix cpu hotplug"): > qemu-xen: fix cpu hotplug > > The current xenstore watch path for a vcpu-set event is wrong and is > also wrong the code to parse it. This patch fixes both of them: Thanks. So it seems you're saying it's completely broken in xen-unstable. I have CC'd a bunch of Intel folks who were doing some other work on cpu hotplug. They were dealing with a race when multiple CPUs were added at once. So I think there must be some confusion. Perhaps xl and xend have different ideas about what the xenstore syntax is for these operations ? Jinsong Liu et al: would you care to comment ? Particularly about this: > A xenstore vcpu hotplug command is of the following form: > path: /local/domain/DOMID/cpu/VCPU_NUMBER/availability > values: "online" or "offline" That doesn't seem to match up with what's in xend, which seems to write "cpu_avail" in the vm tree. Thanks, Ian.