qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Baptiste Reynal <b.reynal@virtualopensystems.com>
Cc: Jani.Kokkonen@huawei.com, tech@virtualopensystems.com,
	Claudio.Fontana@huawei.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/1] backend: multi-client-socket
Date: Thu, 31 Mar 2016 10:08:08 +0100	[thread overview]
Message-ID: <20160331090808.GD32185@stefanha-x1.localdomain> (raw)
In-Reply-To: <1458292366-13723-1-git-send-email-b.reynal@virtualopensystems.com>

[-- Attachment #1: Type: text/plain, Size: 1229 bytes --]

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 <b.reynal@virtualopensystems.com>
> ---
>  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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2016-03-31  9:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-18  9:12 [Qemu-devel] [PATCH 1/1] backend: multi-client-socket Baptiste Reynal
2016-03-31  9:08 ` Stefan Hajnoczi [this message]
2016-04-08 13:18   ` Baptiste Reynal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160331090808.GD32185@stefanha-x1.localdomain \
    --to=stefanha@gmail.com \
    --cc=Claudio.Fontana@huawei.com \
    --cc=Jani.Kokkonen@huawei.com \
    --cc=b.reynal@virtualopensystems.com \
    --cc=qemu-devel@nongnu.org \
    --cc=tech@virtualopensystems.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).