All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antti Kantee <pooka@iki.fi>
To: Anil Madhavapeddy <anil@recoil.org>,
	Wei Liu <wei.liu2@citrix.com>,
	rumpkernel-users@freelists.org, xen-devel@lists.xen.org,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	David Scott <Dave.Scott@citrix.com>,
	Anthony PERARD <anthony.perard@citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Ian Campbell <ian.campbell@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	Richard Mortier <richard.mortier@cl.cam.ac.uk>
Subject: Re: Upstream QEMU based stubdom and rump kernel
Date: Thu, 19 Mar 2015 09:35:44 +0000	[thread overview]
Message-ID: <550A9870.5080602@iki.fi> (raw)
In-Reply-To: <20150319084843.GC18697@nodbug.moloch.sk>

On 19/03/15 08:48, Martin Lucina wrote:
> By "faking out" Anil means a shim to get existing applications
> which currently use PF_UNIX (and possibly PF_INET, though that will be
> harder to fake) to use the hypervisor bus to talk to another colocated
> unikernel instead.
>
> The motivations for this are:
>
> - Taking the TCP stack out of the picture entirely for intra-unikernel
>    comms (eg. PHP unikernel <-> MySQL unikernel). Both of those could be
>    thus be linked without the PF_INET component.
> - This means that you do not need to set up and manage a TCP network in
>    your infrastructure for intra-unikernel comms, which is a huge advantage
>    from an operations point of view.
> - It also means that unikernels which should not be talking TCP to
>    anywhere, ever, can't do that.

Aah, ic, you want to do what rumpnet_sockin does, except use the 
hypervisor bus instead of an external sockets-like networking facility 
like sockin does.

rumpnet_sockin was indeed originally developed so that you wouldn't need 
to include the full TCP/IP stack in a rump kernel, which is nice for 
scenarios where you want to do networking without configuring anything 
for each guest instance; running the kernel NFS client in userspace and 
using the host's network was the original use case.

Yea, that'll just work on the rump kernel side for PF_INET/PF_INET6 
(though you might have to do a bit more handling in your "fake" driver). 
  Not sure what doing the same for PF_UNIX would entail, if anything 
special, but only one way to find out.

   - antti

  reply	other threads:[~2015-03-19  9:35 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-17 14:29 Upstream QEMU based stubdom and rump kernel Wei Liu
2015-03-17 14:54 ` Ian Campbell
2015-03-17 14:57   ` Wei Liu
2015-03-17 15:07     ` Ian Campbell
2015-03-17 15:15 ` Anthony PERARD
2015-03-17 15:23   ` Stefano Stabellini
2015-03-17 15:27   ` Wei Liu
2015-03-17 15:38     ` Ian Campbell
2015-03-18 11:24       ` Martin Lucina
2015-03-18 11:30         ` Ian Campbell
2015-03-18 12:45           ` Stefano Stabellini
2015-03-18 16:46             ` Ian Campbell
2015-03-19 11:16   ` Ian Campbell
2015-03-17 16:06 ` Antti Kantee
2015-03-18 11:22   ` Martin Lucina
2015-03-18 13:22     ` Antti Kantee
2015-03-18 11:20 ` Martin Lucina
2015-03-18 19:05   ` Anil Madhavapeddy
2015-03-18 19:11     ` Martin Lucina
2015-03-18 20:23     ` Antti Kantee
2015-03-18 21:21       ` Anil Madhavapeddy
2015-03-18 22:07         ` Antti Kantee
2015-03-19  8:48           ` Martin Lucina
2015-03-19  9:35             ` Antti Kantee [this message]
2015-03-19 12:22               ` Anil Madhavapeddy
2015-03-19  0:19 ` Samuel Thibault

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=550A9870.5080602@iki.fi \
    --to=pooka@iki.fi \
    --cc=Dave.Scott@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=anil@recoil.org \
    --cc=anthony.perard@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=richard.mortier@cl.cam.ac.uk \
    --cc=rumpkernel-users@freelists.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=thomas@gazagnaire.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.