[libvirt] [PATCH 2/3] qemu_driver: clamp value for setting sched cpu_shares with --config.

Eric Blake eblake at redhat.com
Thu May 15 12:20:09 UTC 2014


On 05/15/2014 05:18 AM, Dongsheng Yang wrote:

> 
> Also, it can make the other "invalid" input, such as -1 and 262144+1,

Auto-wrapping -1 to maximum makes sense.  But making other out-of-bounds
values, like 262144+1, be auto-clamped sounds risky, especially if the
kernel ever changes clamping boundaries.
-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list