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: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 1/1] backend: multi-client-socket
Date: Thu, 31 Mar 2016 10:08:08 +0100
User-agent: Mutt/1.5.24 (2015-08-30)

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.

Attachment: signature.asc
Description: PGP signature


reply via email to

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