[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] vl: plug -object back into -readconfig
From: |
Kevin Wolf |
Subject: |
Re: [PATCH 3/3] vl: plug -object back into -readconfig |
Date: |
Wed, 19 May 2021 18:41:49 +0200 |
Am 18.05.2021 um 17:40 hat Paolo Bonzini geschrieben:
> Commit bc2f4fcb1d ("qom: move user_creatable_add_opts logic to vl.c
> and QAPIfy it", 2021-03-19) switched the creation of objects from
> qemu_opts_foreach to a bespoke QTAILQ in preparation for supporting JSON
> syntax in -object.
>
> Unfortunately in doing so it lost support for [object] stanzas in
> configuration files and also for "-set object.ID.KEY=VAL". The latter
> is hard to re-establish and probably best solved by deprecating -set.
> This patch uses the infrastructure introduced by the previous two
> patches in order to parse QOM objects correctly from configuration
> files.
>
> Cc: Kevin Wolf <kwolf@redhat.com>
> Cc: Markus Armbruster <armbru@redhat.com>
> Cc: qemu-stable@nongnu.org
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
- [PATCH 0/3] vl: add -object support back into -readconfig, Paolo Bonzini, 2021/05/18
- [PATCH 3/3] vl: plug -object back into -readconfig, Paolo Bonzini, 2021/05/18
- Re: [PATCH 3/3] vl: plug -object back into -readconfig,
Kevin Wolf <=
- [PATCH 1/3] qemu-config: parse configuration files to a QDict, Paolo Bonzini, 2021/05/18
- [PATCH 2/3] vl: plumb keyval-based options into -readconfig, Paolo Bonzini, 2021/05/18
- Re: [PATCH 0/3] vl: add -object support back into -readconfig, Kevin Wolf, 2021/05/19
- Re: [PATCH 0/3] vl: add -object support back into -readconfig, no-reply, 2021/05/19