On 06/23/2016 02:23 PM, Peter Krempa wrote: > For management apps it's very useful to know whether the selected > machine type supports cpu hotplug via the new -device approach. Using > the presence of 'query-hotpluggable-cpus' is enough for a withess. s/is enough/alone is not enough/ ? s/withess/witness/ > > Add a property to 'MachineInfo' called 'hotpluggable-cpus' that will > report the presence of this feature. > > Example of output: > { > "hotpluggable-cpus": false, > "name": "mac99", > "cpu-max": 1 > }, > { > "hotpluggable-cpus": true, > "name": "pseries-2.7", > "is-default": true, > "cpu-max": 255, > "alias": "pseries" > }, > > Signed-off-by: Peter Krempa > --- > qapi-schema.json | 5 ++++- > vl.c | 1 + > 2 files changed, 5 insertions(+), 1 deletion(-) Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org