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