[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.
Paolo
> 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.
- [PATCH 4/4] qemu-storage-daemon: QAPIfy --chardev, (continued)
- [PATCH 4/4] qemu-storage-daemon: QAPIfy --chardev, Markus Armbruster, 2020/10/26
- [PATCH 3/4] char: Flat alternative to overly nested chardev-add arguments, Markus Armbruster, 2020/10/26
- Re: [PATCH 0/4] qemu-storage-daemon: QAPIfy --chardev the stupid way, Paolo Bonzini, 2020/10/27
- Re: [PATCH 0/4] qemu-storage-daemon: QAPIfy --chardev the stupid way, Markus Armbruster, 2020/10/28
- Re: [PATCH 0/4] qemu-storage-daemon: QAPIfy --chardev the stupid way, Kevin Wolf, 2020/10/28
- Re: [PATCH 0/4] qemu-storage-daemon: QAPIfy --chardev the stupid way,
Paolo Bonzini <=
- Re: [PATCH 0/4] qemu-storage-daemon: QAPIfy --chardev the stupid way, Kevin Wolf, 2020/10/28
- Re: [PATCH 0/4] qemu-storage-daemon: QAPIfy --chardev the stupid way, Paolo Bonzini, 2020/10/28
- Re: [PATCH 0/4] qemu-storage-daemon: QAPIfy --chardev the stupid way, Kevin Wolf, 2020/10/28
- Re: [PATCH 0/4] qemu-storage-daemon: QAPIfy --chardev the stupid way, Paolo Bonzini, 2020/10/28