[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST v2 3/6] ts-xen-install: Add dom0_mem runvar to control dom0 memory



Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
 ts-xen-install | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ts-xen-install b/ts-xen-install
index 0f53382..17edfb7 100755
--- a/ts-xen-install
+++ b/ts-xen-install
@@ -153,7 +153,8 @@ sub setupboot () {
        logm("No Xen console device defined for host");
     }
     if (toolstack($ho)->{Dom0MemFixed}) {
-        $xenhopt .= " dom0_mem=512M,max:512M";
+        my $mem = $r{'dom0_mem'} // 512;
+        $xenhopt .= " dom0_mem=${mem}M,max:${mem}M";
     }
 
     # If /boot/microcode.cpio is present then ts-host-install has
-- 
Anthony PERARD


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.