On 01/26/2016 08:35 AM, Eduardo Habkost wrote: > On Mon, Jan 25, 2016 at 11:24:47AM +0300, Valentin Rakush wrote: >> This patch adds support for qom-type-prop-list command to list object >> class properties. A later patch will use this functionality to >> implement x86_64-cpu properties. >>
> > We already have "-device <type>,help", and it uses a completely > different mechanism for listing properties. There's no reason for > having two arbitrarily different APIs for listing properties > returning different results. And the QMP counterpart of '-device <type>,help' is 'device-list-properties'. > > If qmp_device_list_properties() is not enough for you, please > clarify why, so we can consider improving it. > -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature