From: Antti Kantee <pooka@iki.fi>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: David Scott <Dave.Scott@citrix.com>,
Wei Liu <wei.liu2@citrix.com>,
Ian Campbell <ian.campbell@citrix.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Richard Mortier <richard.mortier@cl.cam.ac.uk>,
xen-devel@lists.xen.org, rumpkernel-users@freelists.org,
Thomas Gazagnaire <thomas@gazagnaire.org>,
Anthony PERARD <anthony.perard@citrix.com>,
Martin Lucina <martin@lucina.net>
Subject: Re: Upstream QEMU based stubdom and rump kernel
Date: Wed, 18 Mar 2015 22:07:39 +0000 [thread overview]
Message-ID: <5509F72B.8010304@iki.fi> (raw)
In-Reply-To: <21C9D78E-641F-46B7-9820-0C6426B533A1@recoil.org>
On 18/03/15 21:21, Anil Madhavapeddy wrote:
>> This is not an argument for or against; if you want to expose AF_WHATEVER to applications running on a rump kernel, you need to sell AF_WHATEVER to NetBSD, not to rumpkernel-users. Well, preferably you need to sell it to everyone implementing sockets and running on some sort of hypervisor, but of course gotta start from somewhere.
>
> Given that most of the uses of this will be in userspace code, just
> faking out AF_UNIX in Rump does seem a lot easier. It doesn't matter
> to MirageOS either way -- we just need a well-defined XenStore/ring
> protocol to obey to do connection setup on the other side.
Where do you propose to inject that faking out (and what does it even
mean)? Someone at Berkeley decided that socket drivers should be
globally enumerated, and PF_UNIX leads to exactly one handler. Just
hacking hooks as local patches into the PF_UNIX driver is against the
whole point of having unmodified, tested drivers from upstream.
So, if you want your bus to appear as a socket to userspace, I don't see
any shortcut to not going via NetBSD. If you're happy with something
else than a socket, that's another story.
Especially if the interface doesn't matter too much for whatever purpose
you plan to use it for, it's silly to specify the interface so that the
implementation process is as convoluted as possible ;)
next prev parent reply other threads:[~2015-03-18 22:07 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 [this message]
2015-03-19 8:48 ` Martin Lucina
2015-03-19 9:35 ` Antti Kantee
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=5509F72B.8010304@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=martin@lucina.net \
--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.