WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] add dom0 vcpu hotplug control
From: Ryan Harper <ryanh@xxxxxxxxxx>
Date: Tue, 7 Jun 2005 17:59:41 -0500
Cc: Ryan Harper <ryanh@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 07 Jun 2005 22:58:56 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D282108@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <A95E2296287EAD4EB592B5DEEFCE0E9D282108@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
* Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx> [2005-06-07 17:54]:
>  
> > That would work.  Moving forward, there may be more per-VCPU 
> > info that we want to collect and that it would make sense to 
> > factor out per-VCPU info from DOM0_GETDOMINFO and create a 
> > DOM0_GETVCPUINFO call.  If that is not desirable at this 
> > point, I can work with DOM0_GETVCPUCONTEXT.
> 
> I think we can live with the summary provided by DOM0_GETDOMINFO for the
> moment.

OK. 

> I presume the n_cpu and vcpu_to_cpu[] fields are updated to show down'ed
> VCPUs?

Not at the moment, but they should.  I think if those are updated, I can
extract state info from those variables without having to issue
DOM0_VCPUCONTEXT ops.  DOM0_VCPUCONTEXT should still skip vcpu's
that are not up.  Thanks for the review.  I'll resubmit with those
changes.

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@xxxxxxxxxx

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