diff options
author | John Garbutt <john.garbutt@rackspace.com> | 2013-11-15 15:44:26 +0000 |
---|---|---|
committer | John Garbutt <john.garbutt@rackspace.com> | 2014-01-03 13:27:50 +0000 |
commit | 3c25a3fe3ffeb899d6a8c93549988ea38750468b (patch) | |
tree | d33c28e5b4776c0ca0b666116b7943d461068c7e /etc | |
parent | 01f85bdc057376708a1c1cca65bbcc85af494bfa (diff) | |
download | nova-3c25a3fe3ffeb899d6a8c93549988ea38750468b.tar.gz |
xenapi: add support for vcpu_pin_set
This moves vcpu_pin_set config from the libvirt driver into a place that
can be shared between drivers, nova.virt.cpu
At the same time, the utility function that converts the configuration
value into a list of integers has also been moved into nova.virt.cpu
This new code is then used in the XenAPI driver to apply a CPU mask that
implements the currently configured value for vcpu_pin_set
The main use case for this setting is to ensure all guest VMs are not
using the physical CPUs that Dom0 are configured to use.
DocImpact
Completes blueprint xenapi-vcpu-pin-set
Change-Id: I9d53d93db0c5f2a11ad685d3fc335f0cd6b1f79b
Diffstat (limited to 'etc')
-rw-r--r-- | etc/nova/nova.conf.sample | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/etc/nova/nova.conf.sample b/etc/nova/nova.conf.sample index 5856a03d36..efcec13a73 100644 --- a/etc/nova/nova.conf.sample +++ b/etc/nova/nova.conf.sample @@ -1884,6 +1884,15 @@ # +# Options defined in nova.virt.cpu +# + +# Which pcpus can be used by vcpus of instance e.g: +# "4-12,^8,15" (string value) +#vcpu_pin_set=<None> + + +# # Options defined in nova.virt.disk.api # @@ -2593,10 +2602,6 @@ # file=directsync,block=none (list value) #disk_cachemodes= -# Which pcpus can be used by vcpus of instance e.g: -# "4-12,^8,15" (string value) -#vcpu_pin_set=<None> - # # Options defined in nova.virt.libvirt.imagebackend |