# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1210583595 -3600
# Node ID 2383e35a1cb8f96752a1530d5305af0392b6c7c2
# Parent aadde665245774a6161514dd0e190f7cb5507bb4
Fix xmexamples to reflect new meaning of cpus= config option.
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
tools/examples/xmexample.hvm | 3 ++-
tools/examples/xmexample.vti | 3 ++-
tools/examples/xmexample1 | 3 ++-
tools/examples/xmexample2 | 3 ++-
tools/examples/xmexample3 | 3 ++-
5 files changed, 10 insertions(+), 5 deletions(-)
diff -r aadde6652457 -r 2383e35a1cb8 tools/examples/xmexample.hvm
--- a/tools/examples/xmexample.hvm Mon May 12 10:11:23 2008 +0100
+++ b/tools/examples/xmexample.hvm Mon May 12 10:13:15 2008 +0100
@@ -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 -r aadde6652457 -r 2383e35a1cb8 tools/examples/xmexample.vti
--- a/tools/examples/xmexample.vti Mon May 12 10:11:23 2008 +0100
+++ b/tools/examples/xmexample.vti Mon May 12 10:13:15 2008 +0100
@@ -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 -r aadde6652457 -r 2383e35a1cb8 tools/examples/xmexample1
--- a/tools/examples/xmexample1 Mon May 12 10:11:23 2008 +0100
+++ b/tools/examples/xmexample1 Mon May 12 10:13:15 2008 +0100
@@ -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 -r aadde6652457 -r 2383e35a1cb8 tools/examples/xmexample2
--- a/tools/examples/xmexample2 Mon May 12 10:11:23 2008 +0100
+++ b/tools/examples/xmexample2 Mon May 12 10:13:15 2008 +0100
@@ -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 -r aadde6652457 -r 2383e35a1cb8 tools/examples/xmexample3
--- a/tools/examples/xmexample3 Mon May 12 10:11:23 2008 +0100
+++ b/tools/examples/xmexample3 Mon May 12 10:13:15 2008 +0100
@@ -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)
#----------------------------------------------------------------------------
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|