On Tue, Aug 17, 2010 at 9:07 AM, Venkatesh Srinivas <[email protected]> wrote:
>
> I run Plan 9 in qemu, but I run neither fossil nor any other (major) disk
> file server in qemu.
> Instead, I have Inferno on my host serve files to Plan 9.
> To accomplish this:
> 1) I installed Plan 9, as normal, into a qemu disk image, with fossil as my
> fileserver
> 2) I tarred up my root and copied it to my host
> 3) I patched the 9 boot program to accept a file server on port 6666 rather
> than 564 (styx instead of 9fs)
> 4) I untarred the root fs and had Inferno: 'styxlisten -A tcp!*!6666 export
> /plan9'
> 5) Start the both (qemu and inferno) together.
> 6) Profit!
>
Its worth noting that you can do the same thing with the native 9p
servers for linux (u9fs, spfs, or npfs). Alternatively you could run
a AOE vblade server, or a p9p venti (although you'd still need a
solution for the fossil disk, but a ramdisk might be the best solution
here for speed). It might be a nice project to bundle such an
environment with scripts for folks to use as an easy qemu/kvm start
environment with either Linux based file server or the
venti/ramdisk-fossil solution.
-eric