[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/4] qemu-storage-daemon: QAPIfy --chardev the stupid way

From: Paolo Bonzini
Subject: Re: [PATCH 0/4] qemu-storage-daemon: QAPIfy --chardev the stupid way
Date: Wed, 28 Oct 2020 15:39:21 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

On 28/10/20 12:46, Kevin Wolf wrote:
> I don't think this is the right thing to do at this point. Making more
> use of QOM is an orthogonal problem and would only make solving this one
> harder.

Making more use of QOM will make this a non-problem.  You'll just use
object-add and -object and, when you figure out the QOM schema, it will
just work.


> The problem we have and we're trying to solve is that we have
> chardev-add (which has a QAPI schema) and -chardev (which doesn't). We
> want to get an option that is described by the schema, doesn't duplicate
> things and is still convenient to use.
> Whether this option starts with -chardev or with -object doesn't really
> make much of a difference. The QAPI schema you need behind it will be
> almost or even exactly the same.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]