[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/4] Python QEMU utils: introduce a generic feature list
From: |
Willian Rampazzo |
Subject: |
Re: [PATCH 2/4] Python QEMU utils: introduce a generic feature list |
Date: |
Thu, 10 Jun 2021 16:48:18 -0300 |
On Tue, Jun 8, 2021 at 11:09 AM Cleber Rosa <crosa@redhat.com> wrote:
>
> Which can be used to check for any "feature" that is available as a
> QEMU command line option, and that will return its list of available
> options.
>
> This is a generalization of the list_accel() utility function, which
> is itself re-implemented in terms of the more generic feature.
>
> Signed-off-by: Cleber Rosa <crosa@redhat.com>
> ---
> python/qemu/utils/__init__.py | 2 ++
> python/qemu/utils/accel.py | 15 ++----------
> python/qemu/utils/feature.py | 44 +++++++++++++++++++++++++++++++++++
> 3 files changed, 48 insertions(+), 13 deletions(-)
> create mode 100644 python/qemu/utils/feature.py
>
Based on my comments from the next patch of this series:
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
- [PATCH 0/4] Jobs based on custom runners: add CentOS Stream 8, Cleber Rosa, 2021/06/08
- [PATCH 1/4] block.c: fix compilation error on possible unitialized variable, Cleber Rosa, 2021/06/08
- [PATCH 3/4] Acceptance Tests: introduce method to require a feature and option, Cleber Rosa, 2021/06/08
- [PATCH 4/4] Jobs based on custom runners: add CentOS Stream 8, Cleber Rosa, 2021/06/08
- Re: [PATCH 0/4] Jobs based on custom runners: add CentOS Stream 8, Willian Rampazzo, 2021/06/10