summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorWangpan <hzwangpan@corp.netease.com>2013-04-08 17:57:10 +0800
committerWangpan <hzwangpan@corp.netease.com>2013-05-07 09:47:28 +0800
commit37b4ae369f3a086990d3c1499bf8b741c7226107 (patch)
treee886a8d22be032c03c7a6e9030a29527970025de /nova/utils.py
parent7be2809c67aa0658d7d4c6666a754b5334d96c11 (diff)
downloadnova-37b4ae369f3a086990d3c1499bf8b741c7226107.tar.gz
nova-37b4ae369f3a086990d3c1499bf8b741c7226107.tar.xz
nova-37b4ae369f3a086990d3c1499bf8b741c7226107.zip
Add cpuset attr to vcpu conf in libvirt xml
Currently the instances can use all of the pcpu of compute node, the host may become slow when vcpus of instances are busy, so we need to pin vcpus to the specific pcpus of host instead of all pcpus. Also added a cache of total vcpus num in libvirt driver here. DocImpact: please refer to the bp page. Implements blueprint: instance-vcpu-pin Change-Id: I6b6e805c15b249cc5e7517e26619d79bb0183de8
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions