New cpu-max field in query-machines QMP command output
Alter the query-machines QMP command to output information about maximum number of CPUs for each machine type with default value set to 1 in case the number of max_cpus is not set. Signed-off-by: Michal Novotny <minovotn@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
93b48c201e
commit
c72e768836
@ -2861,11 +2861,14 @@
|
||||
#
|
||||
# @default: #optional whether the machine is default
|
||||
#
|
||||
# @cpu-max: maximum number of CPUs supported by the machine type
|
||||
# (since 1.5.0)
|
||||
#
|
||||
# Since: 1.2.0
|
||||
##
|
||||
{ 'type': 'MachineInfo',
|
||||
'data': { 'name': 'str', '*alias': 'str',
|
||||
'*is-default': 'bool' } }
|
||||
'*is-default': 'bool', 'cpu-max': 'int' } }
|
||||
|
||||
##
|
||||
# @query-machines:
|
||||
|
Loading…
Reference in New Issue
Block a user