diff options
| author | Michal Novotny | 2013-04-08 18:21:02 +0200 |
|---|---|---|
| committer | Luiz Capitulino | 2013-04-12 15:41:53 +0200 |
| commit | c72e768836d78c9d844428b541f7d27d54e7653d (patch) | |
| tree | 918fecbdc64875a783132695fa7e839df1c4f07e /qapi-schema.json | |
| parent | virtio-9p: Fix virtio-9p no longer building after hw-dirs branch merge (diff) | |
| download | qemu-c72e768836d78c9d844428b541f7d27d54e7653d.tar.gz qemu-c72e768836d78c9d844428b541f7d27d54e7653d.tar.xz qemu-c72e768836d78c9d844428b541f7d27d54e7653d.zip | |
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>
Diffstat (limited to 'qapi-schema.json')
| -rw-r--r-- | qapi-schema.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index db542f6692..66808c2f27 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -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: |
