[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-6.0 0/6] Add HMP/QMP commands to query accelerator
From: |
Claudio Fontana |
Subject: |
Re: [PATCH for-6.0 0/6] Add HMP/QMP commands to query accelerator |
Date: |
Thu, 19 Nov 2020 15:41:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
Ciao Roman,
On 11/16/20 2:10 PM, Roman Bolshakov wrote:
> Hi,
>
> Management applications have no way to determine if certain accelerator
> is available. That complicates discovery of non-KVM accelerators.
are we thinking about how to make this future-proof when it comes to
modularization efforts,
ie, when we get to fully modularized accelerator plugins?
Maybe too soon to consider, but still worth mentioning on my side I think.
Ciao,
Claudio
>
> To address the issue, the series adds two commands:
>
> 'query-accel' for QMP to be used by management apps, and
>
> 'info accel' for HMP to replace 'info kvm' in future.
>
> Thanks,
> Roman
>
> Roman Bolshakov (6):
> qapi: Add query-accel command
> qapi: Rename KvmInfo to AccelInfo
> qapi: Use qmp_query_accel() in qmp_query_kvm()
> softmmu: Remove kvm_available()
> hmp: Add 'info accel' command
> qapi: Deprecate 'query-kvm'
>
> hmp-commands-info.hx | 13 +++++++++++++
> include/monitor/hmp.h | 1 +
> include/sysemu/arch_init.h | 1 -
> monitor/hmp-cmds.c | 36 ++++++++++++++++++++++++++++++++++--
> monitor/qmp-cmds.c | 18 ++++++++++++++----
> qapi/machine.json | 37 ++++++++++++++++++++++++++++++-------
> softmmu/arch_init.c | 9 ---------
> 7 files changed, 92 insertions(+), 23 deletions(-)
>
- Re: [PATCH for-6.0 1/6] qapi: Add query-accel command, (continued)
[PATCH for-6.0 2/6] qapi: Rename KvmInfo to AccelInfo, Roman Bolshakov, 2020/11/16
[PATCH for-6.0 4/6] softmmu: Remove kvm_available(), Roman Bolshakov, 2020/11/16
[PATCH for-6.0 3/6] qapi: Use qmp_query_accel() in qmp_query_kvm(), Roman Bolshakov, 2020/11/16
[PATCH for-6.0 6/6] qapi: Deprecate 'query-kvm', Roman Bolshakov, 2020/11/16
[PATCH for-6.0 5/6] hmp: Add 'info accel' command, Roman Bolshakov, 2020/11/16
Re: [PATCH for-6.0 0/6] Add HMP/QMP commands to query accelerator,
Claudio Fontana <=