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] Initial memory allocation for adomain (clarification) -

To: "sting sting" <zstingx@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Initial memory allocation for adomain (clarification) - newbie
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 3 May 2005 08:41:51 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 03 May 2005 07:44:20 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BAY22-F12BF542478DAB1EE60BBBAA180@xxxxxxx>
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: <BAY22-F12BF542478DAB1EE60BBBAA180@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

Now I do not see here any specified paramter denoting initial memory allocation for the domain. And as I understand, creation of the domain is done by this method, do_createdomain().

Am I missing something ?

Domain creation is more involved than just calling creatdomain(). That allocates a domain structure within Xen, which the user-space tools then populate with RAM, load a kernel image, etc.

See xc_domain_create() in tools/libxc/xc_domain.c for some of the details (inclduing how RAM is added to a new domain).

 -- Keir


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

<Prev in Thread] Current Thread [Next in Thread>