ia64/xen-unstable

changeset 17628:2383e35a1cb8

Fix xmexamples to reflect new meaning of cpus= config option.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon May 12 10:13:15 2008 +0100 (2008-05-12)
parents aadde6652457
children 9be45076186d
files tools/examples/xmexample.hvm tools/examples/xmexample.vti tools/examples/xmexample1 tools/examples/xmexample2 tools/examples/xmexample3
line diff
     1.1 --- a/tools/examples/xmexample.hvm	Mon May 12 10:11:23 2008 +0100
     1.2 +++ b/tools/examples/xmexample.hvm	Mon May 12 10:13:15 2008 +0100
     1.3 @@ -56,7 +56,8 @@ name = "ExampleHVMDomain"
     1.4  # List of which CPUS this domain is allowed to use, default Xen picks
     1.5  #cpus = ""         # leave to Xen to pick
     1.6  #cpus = "0"        # all vcpus run on CPU0
     1.7 -#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
     1.8 +#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5
     1.9 +#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3
    1.10  
    1.11  # Optionally define mac and/or bridge for the network interfaces.
    1.12  # Random MACs are assigned if not given.
     2.1 --- a/tools/examples/xmexample.vti	Mon May 12 10:11:23 2008 +0100
     2.2 +++ b/tools/examples/xmexample.vti	Mon May 12 10:13:15 2008 +0100
     2.3 @@ -33,7 +33,8 @@ name = "ExampleVTIDomain"
     2.4  # List of which CPUS this domain is allowed to use, default Xen picks
     2.5  #cpus = ""         # leave to Xen to pick
     2.6  #cpus = "0"        # all vcpus run on CPU0
     2.7 -#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
     2.8 +#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5
     2.9 +#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3
    2.10  
    2.11  # Log2 of VHPT size, default=23 (8MB), minimum=15 (32KB).
    2.12  # In Windows OS, smaller size shows better performance.
     3.1 --- a/tools/examples/xmexample1	Mon May 12 10:11:23 2008 +0100
     3.2 +++ b/tools/examples/xmexample1	Mon May 12 10:13:15 2008 +0100
     3.3 @@ -33,7 +33,8 @@ name = "ExampleDomain"
     3.4  # List of which CPUS this domain is allowed to use, default Xen picks
     3.5  #cpus = ""         # leave to Xen to pick
     3.6  #cpus = "0"        # all vcpus run on CPU0
     3.7 -#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
     3.8 +#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5
     3.9 +#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3
    3.10  
    3.11  # Number of Virtual CPUS to use, default is 1
    3.12  #vcpus = 1
     4.1 --- a/tools/examples/xmexample2	Mon May 12 10:11:23 2008 +0100
     4.2 +++ b/tools/examples/xmexample2	Mon May 12 10:13:15 2008 +0100
     4.3 @@ -62,7 +62,8 @@ name = "VM%d" % vmid
     4.4  # List of which CPUS this domain is allowed to use, default Xen picks
     4.5  #cpus = ""         # leave to Xen to pick
     4.6  #cpus = "0"        # all vcpus run on CPU0
     4.7 -#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
     4.8 +#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5
     4.9 +#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3
    4.10  #cpus = "%s" % vmid # set based on vmid (mod number of CPUs)
    4.11  
    4.12  # Number of Virtual CPUS to use, default is 1
     5.1 --- a/tools/examples/xmexample3	Mon May 12 10:11:23 2008 +0100
     5.2 +++ b/tools/examples/xmexample3	Mon May 12 10:13:15 2008 +0100
     5.3 @@ -62,7 +62,8 @@ name = "VM%d" % vmid
     5.4  # List of which CPUS this domain is allowed to use, default Xen picks
     5.5  #cpus = ""         # leave to Xen to pick
     5.6  #cpus = "0"        # all vcpus run on CPU0
     5.7 -#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
     5.8 +#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5
     5.9 +#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3
    5.10  cpus = "%s" % vmid # set based on vmid (mod number of CPUs)
    5.11  
    5.12  #----------------------------------------------------------------------------