[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 07/28] qtest: add a QOM object for qtest
From: |
Eric Blake |
Subject: |
Re: [PULL 07/28] qtest: add a QOM object for qtest |
Date: |
Fri, 4 Jun 2021 10:37:16 -0500 |
User-agent: |
NeoMutt/20210205 |
On Mon, May 24, 2021 at 06:41:10PM +0200, Paolo Bonzini wrote:
> The qtest server right now can only be created using the -qtest
> and -qtest-log options. Allow an alternative way to create it
> using "-object qtest,chardev=...,log=...".
>
> This is part of the long term plan to make more (or all) of
> QEMU configurable through QMP and preconfig mode.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> qapi/qom.json | 17 +++++
> softmmu/qtest.c | 185 +++++++++++++++++++++++++++++++++++++++++++++---
> softmmu/vl.c | 5 +-
> 3 files changed, 196 insertions(+), 11 deletions(-)
>
> diff --git a/qapi/qom.json b/qapi/qom.json
> index 4f48035831..f7ef30f940 100644
> --- a/qapi/qom.json
> +++ b/qapi/qom.json
> @@ -644,6 +644,21 @@
> { 'struct': 'PrManagerHelperProperties',
> 'data': { 'path': 'str' } }
>
> +##
> +# @QtestProperties:
> +#
> +# Properties for qtest objects.
> +#
> +# @chardev: the chardev to be used to receive qtest commands on.
> +#
> +# @log: the path to a log file
> +#
> +# Since: 6.0
Do we need a followup patch to correct this to 6.1?
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
- Re: [PULL 07/28] qtest: add a QOM object for qtest,
Eric Blake <=