From 43b8837e53259e9f50cea116c21c42d3efd059c7 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Fri, 9 Apr 2010 18:34:24 -0700 Subject: increase xen hypervisor heap size --- scripts/vyatta-grub-setup | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/vyatta-grub-setup b/scripts/vyatta-grub-setup index 19a8be06..83a1c1f9 100755 --- a/scripts/vyatta-grub-setup +++ b/scripts/vyatta-grub-setup @@ -181,12 +181,13 @@ fi echo "" # create xen kernels if they exist + XEN_OPTS='dom0_mem=512M xenheap_megabytes=128' if [ -n "$xen_kernel_version" ]; then for xversion in $xen_kernel_version; do echo echo echo -e "menuentry \"Vyatta Xen linux$xversion dom0\" {" - echo -e "\tmultiboot /boot/$xen_version dom0_mem=512M" + echo -e "\tmultiboot /boot/$xen_version $XEN_OPTS" echo -e "\tmodule /boot/vmlinuz$xversion $GRUB_OPTIONS $vty_console" echo -e "\tmodule /boot/initrd.img$xversion" echo -e "}" @@ -198,7 +199,7 @@ fi echo echo echo -e "menuentry \"Vyatta Xen linux$xversion dom0\" {" - echo -e "\tmultiboot /boot/$livedir/$union_xen_version dom0_mem=512M" + echo -e "\tmultiboot /boot/$livedir/$union_xen_version $XEN_OPTS" echo -e "\tmodule /boot/$livedir/vmlinuz$xversion $GRUB_OPTIONS $vty_console" echo -e "\tmodule /boot/$livedir/initrd.img$xversion" echo -e "}" -- cgit v1.2.3