Add warning about small memory allocations to example config files
PATCH 1/1 Add warning about small memory allocations to example config files
To help with the small memory issue, here's a patch that adds a warning to the example config files. The goal is to warn people about allocating insufficient memory for domains. This patch is trivial - only comments.
Thanks,
Dan
# HG changeset patch
# User [email protected] # Node ID 90fb296f09d7970943bfe04f7e17a6ff4b9a5791 # Parent 72f9c751d3ea1f17ff513cd7fc2cbe671a9af7c9
Add small memory warning message to domain configuration examples.
Signed-off-by Daniel Stekloff <[email protected]>
tools/examples/xmexample.hvm +4 -0
@@ -21,6 +21,10 @@ builder='hvm' # Initial memory allocation (in megabytes) for the new domain. +# +# WARNING: Creating a domain with insufficient memory may cause out of +# memory errors. The domain needs enough memory to boot kernel +# and modules. Allocating less than 32MBs is not recommended. memory = 128 # A name for your domain. All domains must have different names.
tools/examples/xmexample.nbd +5 -0
@@ -10,7 +10,12 @@ kernel = "/boot/vmlinuz-2.6.13-15b-xen" ramdisk = "/boot/initrd-2.6.13-15b-xen" + +# WARNING: Creating a domain with insufficient memory may cause out of +# memory errors. The domain needs enough memory to boot kernel +# and modules. Allocating less than 32MBs is not recommended. memory = 128 + name = "nbd4" vif = [ '' ] # Please change PORT
tools/examples/xmexample.vti +4 -0
@@ -18,6 +18,10 @@ builder='hvm' # Initial memory allocation (in megabytes) for the new domain. +# +# WARNING: Creating a domain with insufficient memory may cause out of +# memory errors. The domain needs enough memory to boot kernel +# and modules. Allocating less than 32MBs is not recommended. memory = 256 # A name for your domain. All domains must have different names.
tools/examples/xmexample1 +4 -0
@@ -17,6 +17,10 @@ #builder='linux' # Initial memory allocation (in megabytes) for the new domain. +# +# WARNING: Creating a domain with insufficient memory may cause out of +# memory errors. The domain needs enough memory to boot kernel +# and modules. Allocating less than 32MBs is not recommended. memory = 64 # A name for your domain. All domains must have different names.
tools/examples/xmexample2 +4 -0
@@ -45,6 +45,10 @@ #builder='linux' # Initial memory allocation (in megabytes) for the new domain. +# +# WARNING: Creating a domain with insufficient memory may cause out of +# memory errors. The domain needs enough memory to boot kernel +# and modules. Allocating less than 32MBs is not recommended. memory = 64 # A name for the new domain. All domains have to have different names,
tools/examples/xmexample3 +4 -0
@@ -45,6 +45,10 @@ #builder='linux' # Initial memory allocation (in megabytes) for the new domain. +# +# WARNING: Creating a domain with insufficient memory may cause out of +# memory errors. The domain needs enough memory to boot kernel +# and modules. Allocating less than 32MBs is not recommended. memory = 64 # A name for the new domain. All domains have to have different names,
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel