[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 00/13] Embedded NBD server
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC PATCH 00/13] Embedded NBD server |
Date: |
Wed, 19 Sep 2012 12:22:17 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 |
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