]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Implement cfs_period and cfs_quota's modification
authorWen Congyang <wency@cn.fujitsu.com>
Thu, 21 Jul 2011 08:04:25 +0000 (16:04 +0800)
committerWen Congyang <wency@cn.fujitsu.com>
Thu, 21 Jul 2011 09:11:12 +0000 (17:11 +0800)
commit67a173c54f992e602c8ecddfb14f3e7a7f8ff4c4
tree3a455f69ca895ae62e6a92adf4d8e9a679192896
parentc4441fee102611c4b9f1dcc3b10b54c94fec1e3e
qemu: Implement cfs_period and cfs_quota's modification

This patch implements cfs_period and cfs_quota's modification.
We can use the command 'virsh schedinfo' to query or modify cfs_period and
cfs_quota.
If you query period or quota from config file, the value 0 means it does not set
in the config file.
If you set period or quota to config file, the value 0 means that delete current
setting from config file.
If you modify period or quota while vm is running, the value 0 means that use
current value.
src/qemu/qemu_driver.c