From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <01e06d575b4b70556d2aa694c30a56b1@chula.quanstro.net> References: <01e06d575b4b70556d2aa694c30a56b1@chula.quanstro.net> Date: Tue, 22 Nov 2011 16:33:30 -0700 Message-ID: From: andrew zerger To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=20cf300fb4ad24505c04b25b3bb6 Subject: Re: [9fans] Let's get VM configs onto the Wiki. Topicbox-Message-UUID: 44852ad6-ead7-11e9-9d60-3106f5b1d025 --20cf300fb4ad24505c04b25b3bb6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable So many configs- is true, since the configuration of the host itself is critical to the virtual platform, and your distroVersion/openbox vs. distro2Version/openbox. Especially the successful archlinux/gentoo/lfs qemu-kvm guys will be like---- well first I (already) had a kernel compiled for my hardware (lspci, kernel.config), then I enabled KVM support in the kernel, and tun/tap support, then it just worked, because of course, all of that is in the wikis/docs for those necessary steps. If anyone has trouble I would recommend the docs say, compile your own virtual host and glean issue/resolution wiki from what transpires there, otherwise it will be a distro specific problem on the hardware support side of distro->vm->(no-longer hardware phase)guest, and that distro/VM team would be more interested to know how what is broken than anyone looking at plan9 code. Or- not being some kind of gentoo snob, if I had/'there were' some docs on how to get host-side information on how many supported/unsupported syscalls, etc, plan9 made to qemu, I think that would be useful for improving the performance of plan9 on virtual hardware, but I'm not sure. Just letting my mind wander at the end of the day. Those docs on debugging qemu guests probably exist somewhere I won't see right away. regards, andrew ps, Here's a really bad startup script for qemu-kvm, haha (not really, its just really bad .. okay 1 line) kvm -net nic,macaddr=3D$DISTMAC \ -net tap,ifname=3D$DISTTAP,script=3Dno,downscript=3Dno \ $DVMOPT \ -hda $DISIMG -m $MVMRAM -daemonize On Tue, Nov 22, 2011 at 3:58 PM, erik quanstrom wrot= e: > > What would be *really* helpful is if people who have actual real live > > running this minute Plan 9 under some VM system would post their > > *specific* VM and Plan9 configuration files to the Wiki. > > > > Several people claim to be running Plan 9 under assorted VMs, but it's > > very difficult for others to reproduce that success, and every time I a= sk > > someone for specific configs the response is "well that was months ago > and > > I don't use it any more" or suchlike. > > > > Not that I don't believe them, but basically I don't believe them ;-) > > i think the problem is that there are so many configurations. > there are at least > > vm versions * vm config * real hardware > > many of them. hardware passthrough has got to be one of the > least appealing ideas that's come out of virtualization. you get > all the complications of a virtual environment, coupled with the > convenience and sheer joy of dealing with hardware. > > - erik > > --=20 =E2=8E=BC=E2=8E=BA=E2=8E=BA=E2=94=9C@=E2=94=BC=E2=90=8A=E2=94=9C=E2=94=9C= =E2=89=A4-=E2=90=8D=E2=8E=BC=E2=90=8A=E2=96=92=E2=90=8D:/=E2=90=A4=E2=8E=BA= =E2=94=94=E2=90=8A/=E2=8E=BC=E2=90=A4=E2=8E=BA# --20cf300fb4ad24505c04b25b3bb6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable So many configs- is true, since the configuration of the host itself is cri= tical to the virtual platform, and your distroVersion/openbox vs. distro2Ve= rsion/openbox.=C2=A0

Especially the successful archlinux= /gentoo/lfs qemu-kvm guys will be like---- =C2=A0well first I (already) had= a kernel compiled for my hardware (lspci, kernel.config), then I enabled K= VM support in the kernel, and tun/tap support, then it just worked, because= of course, all of that is in the wikis/docs for those necessary steps.
If anyone has trouble I would recommend the docs say, compil= e your own virtual host and glean issue/resolution wiki from what transpire= s there, otherwise it will be a distro specific problem on the hardware sup= port side of distro->vm->(no-longer hardware phase)guest, and that di= stro/VM team would be more interested to know how what is broken than anyon= e looking at plan9 code.

Or- not being some kind of gentoo snob, if I had/'there = were' some docs on how to get host-side information on how many support= ed/unsupported syscalls, etc, plan9 made to qemu, I think that would be use= ful for improving the performance of plan9 on virtual hardware, but I'm= not sure. Just letting my mind wander at the end of the day. Those docs on= debugging qemu guests probably exist somewhere I won't see right away.=

regards,
andrew


=

ps,
Here's a really bad startup scr= ipt for qemu-kvm, haha=C2=A0
(not really, its just really bad .. = okay 1 line)

kvm -net nic,macaddr=3D$DISTMAC \
=C2=A0 =C2= =A0 -net tap,ifname=3D$DISTTAP,script=3Dno,downscript=3Dno \
=C2= =A0 =C2=A0 $DVMOPT \
=C2=A0 =C2=A0 -hda $DISIMG -m $MVMRAM -daemo= nize



On Tue, Nov 22, 2011 at 3:58 PM, erik quanst= rom <quanstro@quanstro.net> wrote:
> What would be *really* helpful is = if people who have actual real live
> running this minute Plan 9 under some VM system would post their
> *specific* VM and Plan9 configuration files to the Wiki.
>
> Several people claim to be running Plan 9 under assorted VMs, but it&#= 39;s
> very difficult for others to reproduce that success, and every time I = ask
> someone for specific configs the response is "well that was month= s ago and
> I don't use it any more" or suchlike.
>
> Not that I don't believe them, but basically I don't believe t= hem ;-)

i think the problem is that there are so many configurations.
there are at least

=C2=A0 =C2=A0 =C2=A0 =C2=A0vm versions * vm config * real hardware

many of them. =C2=A0hardware passthrough has got to be one of the
least appealing ideas that's come out of virtualization. =C2=A0you get<= br> all the complications of a virtual environment, coupled with the
convenience and sheer joy of dealing with hardware.

- erik




--
=E2= =8E=BC=E2=8E=BA=E2=8E=BA=E2=94=9C@=E2=94=BC=E2=90=8A=E2=94=9C=E2=94=9C=E2= =89=A4-=E2=90=8D=E2=8E=BC=E2=90=8A=E2=96=92=E2=90=8D:/=E2=90=A4=E2=8E=BA=E2= =94=94=E2=90=8A/=E2=8E=BC=E2=90=A4=E2=8E=BA#


--20cf300fb4ad24505c04b25b3bb6--