aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-12-17 06:27:57 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-12-17 06:27:57 +0000
commit57ea955dd313ed5a93c5092dc4a9b22dfcb01949 (patch)
tree047423c7b15849caea6aa3035e780f151527bda1 /tools/examples
parentab562bd46c7041d82523322dde38d42494fb37ca (diff)
downloadxen-57ea955dd313ed5a93c5092dc4a9b22dfcb01949.tar.gz
xen-57ea955dd313ed5a93c5092dc4a9b22dfcb01949.tar.bz2
xen-57ea955dd313ed5a93c5092dc4a9b22dfcb01949.zip
Adds 'memory_sharing' option to domain config scripts. It passes domain id to
the tapdisk2 process if sharing is enabled (tapdisk2 is not normally aware what domain it is working for). Signed-off-by: Grzegorz Milos <Grzegorz.Milos@citrix.com>
Diffstat (limited to 'tools/examples')
-rw-r--r--tools/examples/xmexample.hvm4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/examples/xmexample.hvm b/tools/examples/xmexample.hvm
index 09edda6aac..5ff83f7bac 100644
--- a/tools/examples/xmexample.hvm
+++ b/tools/examples/xmexample.hvm
@@ -25,6 +25,10 @@ memory = 128
# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
# shadow_memory = 8
+# Whether to transparently share this domain's memory with other domains.
+# default = 0
+# memory_sharing = 0
+
# A name for your domain. All domains must have different names.
name = "ExampleHVMDomain"