[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Ryan Harper <ryanh@xxxxxxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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.

    christian

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.