[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCHv5 5/5] hmp: change hmp_info_cpus to use query-cp
From: |
Cornelia Huck |
Subject: |
Re: [qemu-s390x] [PATCHv5 5/5] hmp: change hmp_info_cpus to use query-cpus-fast |
Date: |
Mon, 19 Feb 2018 15:59:07 +0100 |
On Fri, 16 Feb 2018 17:08:41 +0100
Viktor Mihajlovski <address@hidden> wrote:
> Changing the implementation of hmp_info_cpus() to call
s/Changing/Change/
> qmp_query_cpus_fast() instead of qmp_query_cpus. This has the
> following consequences:
>
> o No further code change required for qmp_query_cpus deprecation
>
> o HMP profits from the less disruptive cpu information retrieval
>
> o HMP 'info cpus' won't display architecture specific data anymore,
> which should be tolerable in the light of the deprecation of
> query-cpus.
>
> In order to allow 'info cpus' to be executed completely on the
> fast path, monitor_get_cpu_index() has been adapted to not synchronize
> the cpu state.
>
> Signed-off-by: Viktor Mihajlovski <address@hidden>
> ---
> hmp.c | 41 +++++++----------------------------------
> monitor.c | 13 ++++++++++---
> 2 files changed, 17 insertions(+), 37 deletions(-)
Reviewed-by: Cornelia Huck <address@hidden>