[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 16:09:19 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

On 28/10/20 15:59, Kevin Wolf wrote:
>> 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.
> Yes, but figuring out the QOM schema (or rather, what the interface
> represented by the schema should look like) is the hard part.

I don't disagree with that, but it's a problem you have to solve anyway,
isn't it?  Once you figure out how to introspect QOM classes, that would
apply just as well to character devices.

On the other hand, creating character devices with -object does solve
another problem, namely the distinction between "early" and "late"
objects in vl.c, in a way that QAPIfied -chardev doesn't solve.


reply via email to

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