Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jun 2015 06:17:34 +0100
From:      Bruce Simpson <bms@fastmail.net>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        Marcel Moolenaar <marcel@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, wca@FreeBSD.org
Subject:   Re: svn commit: r284146 - in head/tools/bus_space: . C Python
Message-ID:  <1433740654.3134532.289382577.2D3A01C5@webmail.messagingengine.com>
In-Reply-To: <F3885B60-B33A-4F89-B54C-A19DA85CF41C@xcllnt.net>
References:  <201506080323.t583NKWB098393@svn.freebsd.org> <1433739156.3126307.289375233.42FD30F0@webmail.messagingengine.com> <F3885B60-B33A-4F89-B54C-A19DA85CF41C@xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcel,

(Cc: Will as he's expressed interest in this)

No problem... still tied up here...

On Mon, 8 Jun 2015, at 06:10, Marcel Moolenaar wrote:
> > On Jun 7, 2015, at 9:52 PM, Bruce Simpson <bms@fastmail.net> wrote:
> > Nice! Is there a man page or documentation for this anywhere?
>=20
> Not yet. I want to flesh it out further before documenting.
> I=E2=80=99m not sure the API is stable enough yet. I=E2=80=99m still figu=
re
> things out as I go.

> > Also: is it feasible to extend to build/attach to a VirtIO function?
> > (May be PCI, not MMIO).
>=20
> I think so. If there=E2=80=99s an easy environment for me to play
> with, I can take a look. I think qemu would do right?

If you load a FreeBSD VM into KVM, and turn on host-guest sharing,
you'll see a VirtIO function for Plan 9's v9fs exposed on the PCI bus.
This speaks a Linux-specific variant of the 9P protocol, 9P2000.L.

FreeBSD currently does not understand how to talk to it, nor do our
existing 9p ports. BHyve doesn't support host-guest sharing (yet).

Note: I neither claim nor argue that this is the most efficient
host-guest solution -- there are anecdotal reports that the claims IBM
have made in published papers cannot be verified in production -- but it
makes sense to re-use (and perhaps improve upon) what IBM have done
here, for the sake of interop more than anything else.

There is a FUSE-based implementation in Python, py9p, which might serve
as the basis for a prototype. NetBSD have a newer alternative but it
looks like more work to make it talk to the VirtIO function.

--=20
BMS (sent via webmail)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1433740654.3134532.289382577.2D3A01C5>