From 315f9e1a8f596a37853bbed4647954029f9350db Mon Sep 17 00:00:00 2001 From: Michal Novotny Date: Tue, 9 Apr 2013 16:23:39 +0200 Subject: Revert "New QMP command query-cpu-max and HMP command cpu_max" This reverts commit 4d700430a20b3d53b7b15bc5f6666f7e570e3f2c as asked by Luiz. The patch has been obsoleted by extending MachineInfo structure by cpu-max field. Signed-off-by: Michal Novotny Reviewed-by: Eric Blake Signed-off-by: Luiz Capitulino --- qmp-commands.hx | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'qmp-commands.hx') diff --git a/qmp-commands.hx b/qmp-commands.hx index 1e0e11ee32..4d65422c40 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -382,28 +382,6 @@ Example: Note: CPUs' indexes are obtained with the 'query-cpus' command. -EQMP - - { - .name = "query-cpu-max", - .args_type = "", - .mhandler.cmd_new = qmp_marshal_input_query_cpu_max, - }, - -SQMP -query-cpu-max -------------- - -Get the maximum CPUs supported by the machine being currently -emulated. - -Returns json-int. - -Example: - --> { "execute": "query-cpu-max" } -<- { "return": 255 } - EQMP { -- cgit v1.2.1