On Mon, Jun 11, 2018 at 11:33:42PM +0200, Igor Mammedov wrote: > On Mon, 11 Jun 2018 15:40:16 -0300 > Eduardo Habkost <ehabk...@redhat.com> wrote: > > > On Mon, Jun 11, 2018 at 02:01:52PM +0200, Markus Armbruster wrote: > > > * Eduardo, why does "info numa" have no QMP equivalent? > > > > Nobody ever asked for one, which seems to qualify as "only for > > human users". > > > > Should we add an equivalent QMP command even if we don't expect > > anybody to use it? > > we inderectly can fetch numa info via QMP, using > query-hotpluggable-cpus > for CPU mapping and > query-memory-devices > for (NV|PC)-dimm devices, however there is no QMP way for getting > for numa mapping of initial RAM nor configured numa nodes > (not counting querying CLI options). > > So perhaps we need info 'numa' equivalent for QMP which would give > the same amount of information as HMP in one query. > > Maybe libvirt side as actual users know better if it's really needed (CCed)
Libvirt knows the numa config it used to spawn the guest with, so there's no immediate compelling reason to query it back, as QEMU doesn't change it later. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|