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] How to determine memory size in HVM

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] How to determine memory size in HVM
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 09 Jun 2009 06:38:50 +0100
Cc: Steven Smith <Steven.Smith@xxxxxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Delivery-date: Mon, 08 Jun 2009 22:39:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D016DD675@trantor>
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: AcnoQyQ+SnpqPcQ3SyyBm4PWOeo0CwAAsYv+ABfoCiAAB8GYXw==
Thread-topic: [Xen-devel] How to determine memory size in HVM
User-agent: Microsoft-Entourage/12.17.0.090302
On 09/06/2009 02:59, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

> Thanks for that.
> 
> Another question, if I do 'xm mem-set' (without any handling of the
> memory/target value) and then reboot, the system reboots with the new
> target memory value, making it impossible to add memory to the system
> again (under Windows at least). The only way I can think of fixing that
> is to write back to memory/target with the original value just before
> rebooting, but even that could be prone to errors in case of an unclean
> reboot or something... any way around this?

The new HVM populate-on-demand memory support should be able to help. I
suppose also some tools changes may be necessary in conjunction with this.
Or domain config changes. George Dunlap and Steven Smith can probably
advise.

 -- Keir



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