qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/1] backend: multi-client-socket


From: Baptiste Reynal
Subject: Re: [Qemu-devel] [PATCH 1/1] backend: multi-client-socket
Date: Fri, 8 Apr 2016 15:18:44 +0200

I wasn't aware of this new framework when I started the development of
this socket. For sure I'll have a deeper look and see what can be
shared for the next version.

On Thu, Mar 31, 2016 at 11:08 AM, Stefan Hajnoczi <address@hidden> wrote:
> On Fri, Mar 18, 2016 at 10:12:46AM +0100, Baptiste Reynal wrote:
>> This patch introduces a new socket for QEMU, called multi-client-socket. This
>> socket allows multiple QEMU instances to communicate by sharing messages
>> and file descriptors.
>>
>> A socket can be instantiated with the following parameters:
>> -object multi-socket-backend,id=<id>,path=<socket_path>,listen=<on/off>
>>
>> If listen is set, the socket will act as a listener and register new
>> clients.
>>
>> This patch is a follow-up to "[RFC PATCH 0/8] Towards an Heterogeneous QEMU":
>> https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg00171.html
>>
>> This work has been sponsored by Huawei Technologies Duesseldorf GmbH.
>>
>> Signed-off-by: Baptiste Reynal <address@hidden>
>> ---
>>  backends/Makefile.objs      |   2 +
>>  backends/multi-socket.c     | 355 
>> ++++++++++++++++++++++++++++++++++++++++++++
>>  include/qemu/multi-socket.h | 124 ++++++++++++++++
>>  3 files changed, 481 insertions(+)
>>  create mode 100644 backends/multi-socket.c
>>  create mode 100644 include/qemu/multi-socket.h
>
> Is it possible to reuse QEMU's UNIX domain socket and fd passing code?
> For example, take a look at io/channel-socket.c.



reply via email to

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