From 4d700430a20b3d53b7b15bc5f6666f7e570e3f2c Mon Sep 17 00:00:00 2001 From: Michal Novotny Date: Mon, 25 Mar 2013 17:31:33 +0100 Subject: 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 Signed-off-by: Luiz Capitulino --- qapi-schema.json | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'qapi-schema.json') diff --git a/qapi-schema.json b/qapi-schema.json index 0d16d14e4f..af499bd926 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1831,6 +1831,17 @@ ## { 'command': 'query-migrate-cache-size', 'returns': 'int' } +## +## @query-cpu-max +## +## query maximum number of CPUs supported by machine +## +## Returns: number of CPUs +## +## Since: 1.5 +### +{ 'command': 'query-cpu-max', 'returns': 'int' } + ## # @ObjectPropertyInfo: # -- cgit v1.2.1