[libvirt] Add hyperthreaded sibling info to virsh capabilities
Eric Blake
eblake at redhat.com
Tue Oct 30 23:32:58 UTC 2012
On 10/29/2012 11:57 AM, Dusty Mabe wrote:
> Along the same lines, I am considering adding numacell memory
> information to this output. Some options for formatted output would
> be:
>
> <topology>
> <cells num='2'>
> <cell id='0' memoryKB='8386504'>
memoryKB is an awkward attribute name.
>
>
> or, more similar to the guest xml
>
> <topology>
> <cells num='2'>
> <cell id='0'>
> <memory unit='KiB'>8386504</memory>
> <cpus num='8'>
Much nicer - and because it resembles guest xml it can reuse code.
>
> There are a lot of options here for how to format the output. I don't
> anticipate the unit of KiB to change since that is what is in the
> /sys/devices/system/node/node0/meminfo files.
We've already used KiB for memory everywhere else in our XML, so it
actually works out nicely.
>
>
> Thoughts?
Sounds like a worthwhile idea; I'm looking forward to seeing what
patches you come up with.
--
Eric Blake eblake at 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: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121030/4efb3232/attachment-0001.sig>
More information about the libvir-list
mailing list