[Fedora-xen] dom0 free memory and grub2

Pasi Kärkkäinen pasik at iki.fi
Thu Jun 28 14:28:51 UTC 2012


On Wed, Jun 27, 2012 at 05:58:56PM +0200, Arindam Choudhury wrote:
>    Hi,
> 
>    I have installed xen on fedora 17 using yum.
> 
>    I have the well known problem on dom0
> 
>    total_memory           : 6075
>    free_memory            : 644
> 
>    I know I have to set dom0_mem=XXXG,max:XXXG and by recover the memory
>    released. [1]link
> 
>    But how to do it with grub2?
> 

edit "/etc/default/grub" file

add/edit lines:
GRUB_DEFAULT="Xen"
GRUB_CMDLINE_XEN="dom0_mem=1024M,max:1024M loglvl=all guest_loglvl=all"

Run "grub2-mkconfig -o /boot/grub2/grub.cfg" to update the configuration.

-- Pasi



More information about the xen mailing list