Re: [PATCH 6/6] Implement pretty flag for vcpuinfo and nodecpumap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]