From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Harper Subject: Re: [PATCH] add dom0 vcpu hotplug control Date: Tue, 7 Jun 2005 17:59:41 -0500 Message-ID: <20050607225941.GI28421@us.ibm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline 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: Ian Pratt Cc: Ryan Harper , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org * Ian Pratt [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@us.ibm.com