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

xen-devel

[Top] [All Lists]

[Xen-devel] Re: [Xen-changelog] Create new vcpu_op() hypercall. Replaces

To: Ryan Harper <ryanh@xxxxxxxxxx>
Subject: [Xen-devel] Re: [Xen-changelog] Create new vcpu_op() hypercall. Replaces old boot_vcpu()
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 3 Oct 2005 21:48:12 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2005年10月03日 20:53:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051003184236.GF29825@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: <E1EMUrD-0002RM-Cz@xxxxxxxxxxxxxxxxxxxxx> <20051003184236.GF29825@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 3 Oct 2005, at 19:42, Ryan Harper wrote:
Both do_boot_vcpu() and now VCPU_CREATE rely on domU kernel playing nice
and not making the hypercall more than has been indicated in the shared
table when we built the domain (nr_vcpus). Wouldn't it be better to
have the domain creation hypercall specify the number of vcpus for a
domain (as well as a cpumap to indicate which physical cpus are to be
used) and alloc vcpu structures at that point leaving the vcpu_ops() to
get context and unpause the vcpu?
If I put together a patch that mode the above change, would that be
considered?
I think there's not much in it -- allocating on demand vs. allocate at domain build time. I think the simplest patch would be for Xen to be passed a max_vcpuid or max_vcpus and apply the appropriate simple check at VCPUOP_create. I'd take a patch that adds a new dom0 op to set that value (DOM0_SET_MAX_VCPUS or somesuch), applies the appropriate check inside Xen. Also that plumbs that hypercall into the Python wrapper, and adds a call to that command in xend (both during initial build and on save/restore).
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] kernel BUG and "unknowm domain" messages , Andrew Theurer
Next by Date: [Xen-devel] xen dom0 failed to boot up if compiled with "frame pointer" enabled , Xin Zhao
Previous by Thread: [Xen-devel] Re: [Xen-changelog] Create new vcpu_op() hypercall. Replaces old boot_vcpu() , Ryan Harper
Next by Thread: Re: [Xen-devel] Re: [Xen-changelog] Create new vcpu_op() hypercall. Replaces old boot_vcpu() , Ryan Harper
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /