[libvirt] [PATCH 3/3] qemu: Add support for setting vCPU and I/O thread scheduler setting

John Ferlan jferlan at redhat.com
Tue Jan 20 19:10:12 UTC 2015



On 01/20/2015 09:48 AM, Martin Kletzander wrote:
<...snip...>


> 
>> Do you plan to add a new command 'vcpusched' (like vcpupin).  It's
>> something that's desired for IOThreads, so perhaps one of us gets to
>> reuse code :-)
>>
> 
> I'm not sure anyone will use that, but it there is demand, then I have
> no problem adding that as well.
> 

With this implementation someone can only edit the XML in order to
enable/add; whereas, a 'virsh vcpusched {scheduler} [vcpuid] [priority]'
would be much more simple... and of course enables a python script API.
 Someone with 1-4 vCPU's probably doesn't care.  Someone with more
probably starts caring when they've cut-n-pasted too much.

Rome wasn't built in a day, so not required for this pass, but something
to consider.

John





More information about the libvir-list mailing list