
On 06/05/2014 09:32 AM, Ján Tomko wrote:
On 06/05/2014 05:09 PM, Eric Blake wrote:
On 06/05/2014 05:25 AM, Ján Tomko wrote:
Report CPU affinities / online CPUs in human-readable form (0-2,4) instead of yy-y when this flag is present.
Nit on the commit message: Wouldn't 0-2,4 map to yyy-y ? And it's unusual to pick 5 vcpus, 4 or 8 is more common...
These are host CPUs, so it would probably be: 'yyy-y---' (if it has 8 CPUs).
I have (over?)simplified the proposal from the bz: CPU Affinity: y: 0-3 -: 4-127
and only included the CPUs the vcpu is pinned to, which means the total CPU count can't be determined from the output.
Maybe: 0-2,4 (out of 8) so that we aren't losing the total CPU count? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org