Il 19/09/2012 12:16, Daniel P. Berrange ha scritto: >> > Three new commands are introduced at the QMP level >> > >> > { 'command': 'nbd-server-start', 'data': { 'addr': 'IPSocketAddress' } } > It is probably desirable/required to also have a command where libvirt > can pass in a pre-opened listening socket, since I think SELinux policy > will not want to allow QEMU to create listening sockets itself.
Ok, I'll make it like this: { 'type': 'UnixSocketAddress', 'data': { 'path': 'str' } } { 'type': 'String', 'data': { 'str': 'str' } } {'union': 'SocketAddress', 'data': { 'inet': 'IPSocketAddress', 'unix': 'UnixSocketAddress', 'fd': 'String', } } Paolo