From: Keir Fraser Subject: Re: Re: [Xen-changelog] Create new vcpu_op() hypercall. Replaces old boot_vcpu() Date: Mon, 3 Oct 2005 22:53:04 +0100 Message-ID: <33b7bc8e529e4f7c9f454c09622a3fc5@cl.cam.ac.uk> References: <20051003184236.GF29825@us.ibm.com> <0e4ad41728f6eae851f39c1440bdfd72@cl.cam.ac.uk> <20051003210717.GB17358@us.ibm.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20051003210717.GB17358@us.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ryan Harper Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 3 Oct 2005, at 22:07, Ryan Harper wrote: > I was also thinking toward NUMA systems where I'd like to know which > physical cpus are being utilized for a given domain so when we allocate > memory for a domain we can try to localize those allocations to the > cpus > that will be using it. Currently domain memory allocation happens > before secondary processors are selected. > > I'd rather see domain creation take both max_vcpus and cpu placement > bitmaps instead, but if that is not acceptable for 3.0, I'll go ahead > and work up the patch as described since it needs to be resolved for > 3.0. I'd rather keep single-purpose dom0 ops than have createdomain become a 'union of everything'. There is already a dom0 op for pinning a vcpu. Right now it can't be used before the domain starts for other than vcpu0 since it requires VCPUOP_create to allocate the vcpu structure, but fixing that is unrelated to whether pin info is passed to DOM0_CREATEDOMAIN. As you say, it's also not critical to fix for 3.0. -- Keir