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] set Domain-0 default memory allocation

To: W D <ditwal001@xxxxxxxxxxx>
Subject: Re: [Xen-users] set Domain-0 default memory allocation
From: Ilya Kozlov <unicast.ru@xxxxxxxxx>
Date: Mon, 11 Oct 2010 21:00:58 +0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 11 Oct 2010 10:03:38 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=WF3J7IExbRjQ9qz6vuU8sellBp5lgvUr5DyvcUR3zJg=; b=HyNGLnO6nYehH5FyFPcp8/gEiIJgRdwfE4wTEbkAjuxT82yUuWFP0vEPZbuJK5D3Tn VLG38Fm3zh04yKP+n9ECANDD048/YgJXINAlnP8xTMsdI5Zm40YcXfY5lZ3QlxE8Lipn 3xBZhHnJb2et/Jp9ZgUTMYrnL8yaTLKFvVT8s=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=Mor+qEanqrsP9YIPzYd2SiY9LPhDpNq6Ca8WLsZKKW3C1TbIWfYm05IBqzhbMt7p/V wmTnhLuxSN/T8OA1EZPeiNOTubI/A0PSF+ggUMSRqpagod+yyUlyXxThu0aQelfDul4P 6ku5pzTIKQjCpfVI6DZ27Thm2S5KczzAxGIJU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <COL120-W118D59298F7796E5C79B00FD530@xxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <COL120-W118D59298F7796E5C79B00FD530@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi.

You can add GRUB_CMDLINE_XEN="iommu=off dom0_mem=4096M" to /etc/default/grub

2010/10/11 W D <ditwal001@xxxxxxxxxxx>
hi folks,
 
anyone around who knows how to setup grub2 to allow at boot time a static memory allocation for the Domain-0. I use debain squeeze, lates update's and my actual grub2 config doesn't work automaticlly at boot time. i configured the arg "dom0_mem=4096M" in the grub.cfg section multiboot as shown bellow:
 
***
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 4.0-amd64' --class debian --class gnu-linux --class gnu --class os --class xen {
        insmod raid
        insmod mdraid
        insmod part_msdos
        insmod part_msdos
        insmod ext2
        set root='(md1)'
        search --no-floppy --fs-uuid --set 577b749a-2133-4fd7-8c11-cd6bdbe54077
        echo    'Loading Linux 2.6.32-5-xen-amd64 ...'
        multiboot       /boot/xen-4.0-amd64.gz placeholder iommu=off dom0_mem=4096M
        module  /boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=577b749a-2133-4fd7-8c11-cd6bdbe54077 ro  quiet
        echo    'Loading initial ramdisk ...'
        module  /boot/initrd.img-2.6.32-5-xen-amd64
}
***
thanks a lot :-) 

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



--
WBR, Kozlov Ilya AKA unicast AKA Lin

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>