[libvirt] [PATCHv2 2/2] Show the real cpu shares value in live xml

Ján Tomko jtomko at redhat.com
Wed Mar 26 09:23:58 UTC 2014


On 03/25/2014 05:22 PM, Michal Privoznik wrote:
> On 14.03.2014 16:03, Ján Tomko wrote:
>> ---
>>   src/lxc/lxc_cgroup.c   | 13 ++++++++++---
>>   src/lxc/lxc_driver.c   |  6 +++++-
>>   src/qemu/qemu_cgroup.c | 12 +++++++++---
>>   src/qemu/qemu_driver.c |  7 ++++++-
>>   4 files changed, 30 insertions(+), 8 deletions(-)
> 
> I'd expect some explanation in the commit message why are we bothering with this.
> 
> ACK with the commit message extended.
> 

Thanks, I've added the following to the commit message and pushed the series:

Currently, the Linux kernel treats values of '0' and '1' as
the minimum of 2. Values larger than the maximum are changed
to the maximum.

Re-reading the shares value after setting it reflects this in
the live domain XML.

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140326/01f676ed/attachment-0001.sig>


More information about the libvir-list mailing list