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] Re: how to change the memory size of a VM

To: Jia Rao <rickenrao@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: how to change the memory size of a VM
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 02 Nov 2009 21:37:59 +0000
Cc:
Delivery-date: Mon, 02 Nov 2009 13:39:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <994429490911021254i5c6435d6sb58aef31b5c8043b@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acpb/s24cNN5RysOSfuDqcdx3WtsmAABfFtP
Thread-topic: [Xen-devel] Re: how to change the memory size of a VM
User-agent: Microsoft-Entourage/12.20.0.090605
On 02/11/2009 20:54, "Jia Rao" <rickenrao@xxxxxxxxx> wrote:

> It seems that to change the memory size of a VM, you just need to save the new
> size in somewhere, xenstore?
> How would the new size take effect? the memory mapping of the VM must be
> modified somewhere.

The VM itself gives up memory back to Xen, after reading the updated memory
size from xenstore.

 -- Keir



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