aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-05-12 10:13:15 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-05-12 10:13:15 +0100
commit0653286ebb7495fe8496558e85198699f6aa8c3a (patch)
tree8fa38931c5dc7734f5dfd519e1b71b5649357f75
parent107fe015a169d68f986428e231c5bcb7f7880657 (diff)
downloadxen-0653286ebb7495fe8496558e85198699f6aa8c3a.tar.gz
xen-0653286ebb7495fe8496558e85198699f6aa8c3a.tar.bz2
xen-0653286ebb7495fe8496558e85198699f6aa8c3a.zip
Fix xmexamples to reflect new meaning of cpus= config option.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
-rw-r--r--tools/examples/xmexample.hvm3
-rw-r--r--tools/examples/xmexample.vti3
-rw-r--r--tools/examples/xmexample13
-rw-r--r--tools/examples/xmexample23
-rw-r--r--tools/examples/xmexample33
5 files changed, 10 insertions, 5 deletions
diff --git a/tools/examples/xmexample.hvm b/tools/examples/xmexample.hvm
index 689a1bc216..0052c9a053 100644
--- a/tools/examples/xmexample.hvm
+++ b/tools/examples/xmexample.hvm
@@ -56,7 +56,8 @@ name = "ExampleHVMDomain"
# List of which CPUS this domain is allowed to use, default Xen picks
#cpus = "" # leave to Xen to pick
#cpus = "0" # all vcpus run on CPU0
-#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
+#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5
+#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3
# Optionally define mac and/or bridge for the network interfaces.
# Random MACs are assigned if not given.
diff --git a/tools/examples/xmexample.vti b/tools/examples/xmexample.vti
index 92e29c76c9..1aed0db090 100644
--- a/tools/examples/xmexample.vti
+++ b/tools/examples/xmexample.vti
@@ -33,7 +33,8 @@ name = "ExampleVTIDomain"
# List of which CPUS this domain is allowed to use, default Xen picks
#cpus = "" # leave to Xen to pick
#cpus = "0" # all vcpus run on CPU0
-#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
+#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5
+#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3
# Log2 of VHPT size, default=23 (8MB), minimum=15 (32KB).
# In Windows OS, smaller size shows better performance.
diff --git a/tools/examples/xmexample1 b/tools/examples/xmexample1
index 357ad78bb5..1a5c4d999e 100644
--- a/tools/examples/xmexample1
+++ b/tools/examples/xmexample1
@@ -33,7 +33,8 @@ name = "ExampleDomain"
# List of which CPUS this domain is allowed to use, default Xen picks
#cpus = "" # leave to Xen to pick
#cpus = "0" # all vcpus run on CPU0
-#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
+#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5
+#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3
# Number of Virtual CPUS to use, default is 1
#vcpus = 1
diff --git a/tools/examples/xmexample2 b/tools/examples/xmexample2
index 5f9329d3af..12b9b0f6ca 100644
--- a/tools/examples/xmexample2
+++ b/tools/examples/xmexample2
@@ -62,7 +62,8 @@ name = "VM%d" % vmid
# List of which CPUS this domain is allowed to use, default Xen picks
#cpus = "" # leave to Xen to pick
#cpus = "0" # all vcpus run on CPU0
-#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
+#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5
+#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3
#cpus = "%s" % vmid # set based on vmid (mod number of CPUs)
# Number of Virtual CPUS to use, default is 1
diff --git a/tools/examples/xmexample3 b/tools/examples/xmexample3
index 09eb3744d2..8610fcc483 100644
--- a/tools/examples/xmexample3
+++ b/tools/examples/xmexample3
@@ -62,7 +62,8 @@ name = "VM%d" % vmid
# List of which CPUS this domain is allowed to use, default Xen picks
#cpus = "" # leave to Xen to pick
#cpus = "0" # all vcpus run on CPU0
-#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
+#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5
+#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3
cpus = "%s" % vmid # set based on vmid (mod number of CPUs)
#----------------------------------------------------------------------------