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-users

Re: [Xen-users] mem-set

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] mem-set
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Tue, 21 Aug 2007 05:17:16 +0100
Cc: Harish Chauhan <c_harish38@xxxxxxxxx>
Delivery-date: Mon, 20 Aug 2007 21:17:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <225527.12901.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <225527.12901.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
You have to also specify mem=1024M on the guest's kernel command line, eg. by 
adding it to the extra= parameter in the config file.

You need to do this because otherwise the guest does not know how large a 
memory to expect - it needs to know this so that it can size its data 
structures correctly.  If you set this to the largest you expect the domain 
to grow then you'll be able to grow as well as shrink the domain.

This won't work for HVM domains, which can't (as far as I know) be grown 
beyond their initial allocation.

Cheers,
mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

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