[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Revert "New QMP command query-cpu-max and HMP c
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH] Revert "New QMP command query-cpu-max and HMP command cpu_max" |
Date: |
Tue, 09 Apr 2013 09:05:32 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5 |
On 04/09/2013 08:23 AM, Michal Novotny wrote:
> 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 <address@hidden>
> ---
> hmp-commands.hx | 2 --
> hmp.c | 8 --------
> hmp.h | 1 -
> monitor.c | 7 -------
> qapi-schema.json | 11 -----------
> qmp-commands.hx | 22 ----------------------
> vl.c | 5 -----
> 7 files changed, 56 deletions(-)
Reviewed-by: Eric Blake <address@hidden>
Safe if taken in time for 1.5 alongside the MachineInfo improvements.
Libvirt has not yet coded up support to use either method, and is just
fine using the method that gets cemented by the 1.5 release.
> ##
> -## @query-cpu-max
> -##
> -## query maximum number of CPUs supported by machine
> -##
> -## Returns: number of CPUs
> -##
> -## Since: 1.5
> -###
> -{ 'command': 'query-cpu-max', 'returns': 'int' }
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature