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


Re: [Xen-devel] [PATCH][RESUBMIT] add dom0 vcpu hotplug control

To: Ryan Harper <ryanh@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][RESUBMIT] add dom0 vcpu hotplug control
From: Christian Limpach <christian.limpach@xxxxxxxxx>
Date: Tue, 21 Jun 2005 12:02:20 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 21 Jun 2005 11:01:22 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CmxVLuhZPuaZB7dO7MI1jCD0dYVQdPuNkWyBak4bVOUOB0WK53TAP+5fyH4Mpci1EgBk2BRsc3j2Fk5nt08lEPNpjxEwte5GpPwE5LgVBBUiQMt/CFX1hov8HQOlC06FRW9xMdiX8Lg7dv8klCcA/TGgvTge5iG9hADAVp+CD/I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050614163718.GB7954@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20050607220246.GD28421@xxxxxxxxxx> <20050614163718.GB7954@xxxxxxxxxx>
Reply-to: Christian.Limpach@xxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 6/14/05, Ryan Harper <ryanh@xxxxxxxxxx> wrote:
> * Ryan Harper <ryanh@xxxxxxxxxx> [2005-06-07 17:05]:
> > This patch adds new control messages for vcpu hotplug events.  Via the
> > xm vcpu_hotplug sub-program, VCPUS in domains can be enabled/disabled
> > when CONFIG_HOTPLUG_CPU is enabled in the target domain's kernel.
> >
> Updated this patch to use vcpu_to_cpu up/down info to control whether
> state changes are sent when hotplugging vcpus.

I've applied both patches.  I think there's a flaw in the way how
vcpu_to_cpu gets passed up to python, the -1 -> # hack is kind of
gross and it won't work for cpus > 9?

Also the whole hotplug stuff is still missing interrupt re-routing
when a vcpu is taken down.  To do this, we need an evtchn operation to
change the vcpu affinity of a port by changing notify_vcpu_id.


Xen-devel mailing list