# HG changeset patch # User stekloff@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # Node ID 90fb296f09d7970943bfe04f7e17a6ff4b9a5791 # Parent 72f9c751d3ea1f17ff513cd7fc2cbe671a9af7c9 Add small memory warning message to domain configuration examples. Signed-off-by: Daniel Stekloff diff -r 72f9c751d3ea -r 90fb296f09d7 tools/examples/xmexample.hvm --- a/tools/examples/xmexample.hvm Wed Apr 19 17:32:20 2006 +++ b/tools/examples/xmexample.hvm Wed Apr 19 20:06:29 2006 @@ -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. diff -r 72f9c751d3ea -r 90fb296f09d7 tools/examples/xmexample.nbd --- a/tools/examples/xmexample.nbd Wed Apr 19 17:32:20 2006 +++ b/tools/examples/xmexample.nbd Wed Apr 19 20:06:29 2006 @@ -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 diff -r 72f9c751d3ea -r 90fb296f09d7 tools/examples/xmexample.vti --- a/tools/examples/xmexample.vti Wed Apr 19 17:32:20 2006 +++ b/tools/examples/xmexample.vti Wed Apr 19 20:06:29 2006 @@ -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. diff -r 72f9c751d3ea -r 90fb296f09d7 tools/examples/xmexample1 --- a/tools/examples/xmexample1 Wed Apr 19 17:32:20 2006 +++ b/tools/examples/xmexample1 Wed Apr 19 20:06:29 2006 @@ -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. diff -r 72f9c751d3ea -r 90fb296f09d7 tools/examples/xmexample2 --- a/tools/examples/xmexample2 Wed Apr 19 17:32:20 2006 +++ b/tools/examples/xmexample2 Wed Apr 19 20:06:29 2006 @@ -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, diff -r 72f9c751d3ea -r 90fb296f09d7 tools/examples/xmexample3 --- a/tools/examples/xmexample3 Wed Apr 19 17:32:20 2006 +++ b/tools/examples/xmexample3 Wed Apr 19 20:06:29 2006 @@ -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,