[PATCH v2 06/31] qapi/qom: Add ObjectOptions for dbus-vmstate

Kevin Wolf kwolf at redhat.com
Tue Mar 2 17:36:18 UTC 2021


Am 26.02.2021 um 16:58 hat Eric Blake geschrieben:
> On 2/24/21 7:52 AM, Kevin Wolf wrote:
> > This adds a QAPI schema for the properties of the dbus-vmstate object.
> > 
> > A list represented as a comma separated string is clearly not very
> > QAPI-like, but for now just describe the existing interface.
> 
> Does your alias proposal give us a path forward for improving that down
> the road?  Or maybe it's not an alias we need, but a new field with
> better QAPI-like semantics, deprecate the old one, and wait out the 2
> release cycles?

Aliases can just give options an alternative name, they don't change
anything about the structure of the option. Splitting a string into
multiple values is certainly not one of the things they solve.

So if we care, adding a replacement and deprecating the old option is
probably what we would do.

Kevin




More information about the libvir-list mailing list