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
---
hmp-commands.hx | 14 ++
hmp.c| 15 +++
hmp.h| 1 +
qapi-schema.json |
Version 3 sent to both you and list.
Michal
On 03/25/2013 05:27 PM, Luiz Capitulino wrote:
> On Mon, 25 Mar 2013 17:24:02 +0100
> Michal Novotny wrote:
>
+void hmp_query_cpu_max(Monitor *mon, const QDict *qdict)
+{
+int cpu_max;
+Error *errp = NULL;
+
+c
On Mon, 25 Mar 2013 17:24:02 +0100
Michal Novotny wrote:
> >> +void hmp_query_cpu_max(Monitor *mon, const QDict *qdict)
> >> +{
> >> +int cpu_max;
> >> +Error *errp = NULL;
> >> +
> >> +cpu_max = qmp_query_cpu_max(&errp);
> >> +if (errp) {
> >> +monitor_printf(mon, "%s\n",
On 03/25/2013 05:13 PM, Luiz Capitulino wrote:
> On Mon, 25 Mar 2013 16:58:50 +0100
> Michal Novotny wrote:
>
>> These commands return the maximum number of CPUs supported by the
> /These commands/This command
I meant both of them - both QMP (query-cpu-max) one HMP (cpu_max) one.
>
>> current
On Mon, 25 Mar 2013 16:58:50 +0100
Michal Novotny wrote:
> These commands return the maximum number of CPUs supported by the
/These commands/This command
> currently running emulator instance, as defined in its QEMUMachine
> struct.
>
> Signed-off-by: Michal Novotny
> ---
> hmp-commands.hx