qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/9] chardev: add support for qapi-based chardev


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 1/9] chardev: add support for qapi-based chardev initialization
Date: Tue, 26 Feb 2013 15:03:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

Il 26/02/2013 10:35, Gerd Hoffmann ha scritto:
> 
>> > Have you tried using visit_type_ChardevBackend() with an OptsVisitor to
>> > handle the option parsing? It's how -netdev options are parsed now, so
>> > it should "just work" in theory.
> There is no 1:1 mapping between QemuOpts and ChardevBackend, so I don't
> think this is going to fly.

No, it's not.  I looked briefly at it when doing the
socket_{connect,listen} stuff, but the resulting QAPI structs made no sense.

Paolo



reply via email to

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