]> git.ipfire.org Git - thirdparty/libvirt.git/commit
limit cpu bandwidth only for vcpus
authorHu Tao <hutao@cn.fujitsu.com>
Tue, 21 Aug 2012 09:18:41 +0000 (17:18 +0800)
committerDaniel Veillard <veillard@redhat.com>
Wed, 22 Aug 2012 08:50:41 +0000 (16:50 +0800)
commit1d4395eb4779605c607169bb66787164e6231221
tree95d77f64bffb4f46669fbb9f2aeec709da629405
parent486059604455ea148d6d55a0fa030a12ad12b079
limit cpu bandwidth only for vcpus

This patch changes the behaviour of xml element cputune.period
and cputune.quota to limit cpu bandwidth only for vcpus, and no
longer limit cpu bandwidth for the whole guest.

The reasons to do this are:

  - This matches docs of cputune.period and cputune.quota.
  - The other parts excepting vcpus are treated as "emulator",
    and there are separate period/quota settings for emulator
    in the subsequent patches
src/qemu/qemu_cgroup.c
src/qemu/qemu_driver.c