summaryrefslogtreecommitdiff
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorMichal Novotny <minovotn@redhat.com>2013-03-25 17:31:33 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2013-03-25 16:21:33 -0400
commit4d700430a20b3d53b7b15bc5f6666f7e570e3f2c (patch)
treed9d0ecd5f3ba50c8d2c93a259c2fd02b6df2beab /hmp-commands.hx
parente5ecec7bad7b679aa11ab788424bc0e1705be15b (diff)
downloadqemu-4d700430a20b3d53b7b15bc5f6666f7e570e3f2c.tar.gz
qemu-4d700430a20b3d53b7b15bc5f6666f7e570e3f2c.tar.bz2
qemu-4d700430a20b3d53b7b15bc5f6666f7e570e3f2c.zip
New QMP command query-cpu-max and HMP command cpu_max
These commands return the maximum number of CPUs supported by the currently running emulator instance, as defined in its QEMUMachine struct. Signed-off-by: Michal Novotny <minovotn@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx2
1 files changed, 2 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index df44906ef9..3d98604f77 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1643,6 +1643,8 @@ show qdev device model list
show roms
@item info tpm
show the TPM device
+@item info cpu_max
+show the number of CPUs supported by the machine being emulated.
@end table
ETEXI