Allow vcpu_avail to be specified in the configuration file. Rationalise our
authorEwan Mellor <ewan@xensource.com>
Thu, 18 Jan 2007 17:48:59 +0000 (17:48 +0000)
committerEwan Mellor <ewan@xensource.com>
Thu, 18 Jan 2007 17:48:59 +0000 (17:48 +0000)
commitca662595dc3a1a8732685f881dcf2fac3f4940c6
tree02070faf8c05dee446f227091cfaf7c7d035f8f1
parentb8a73ce6fe1a49f1d8658d5e03350243219371b0
Allow vcpu_avail to be specified in the configuration file.  Rationalise our
use of online_vcpus and max_vcpu_id, keeping track of the configured value in
vcpus_number.

Fix HVM SMP configuration to use the XendDomainInfo.getVCpuCount() call that
is used everywhere else, rather than parsing it out of the device config.

Fix xm list to show the configured VCPU count when the VM is down.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/image.py
tools/python/xen/xm/create.py
tools/python/xen/xm/main.py
tools/python/xen/xm/opts.py