From: "Jan Beulich" Subject: Re: dom0 vcpu set problem Date: Tue, 11 May 2010 08:23:47 +0100 Message-ID: <4BE92223020000780000239C@vpn.id2.novell.com> References: <201005110819.47801.dietmar.hahn@ts.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <201005110819.47801.dietmar.hahn@ts.fujitsu.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dietmar Hahn Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> Dietmar Hahn 11.05.10 08:19 >>> >Can anybody point me where in the code the acpi cpu hotplug gets = triggered to >add the vcpu again to the dom0 kernel after setting the xenstore! No, ACPI hotplug code is not involved in pv domains' vCPU adding or removal. Instead, the pv kernels create a xenstore watch on their domain's "cpu" node, reading cpu//availability when the watch fires. See drivers/xen/core/cpu_hotplug.c (for the forward ported kernels) or drivers/xen/cpu_hotplug.c (for the pv-ops ones). Jan