From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id F1780482C564 for <9fans@9fans.net>; Wed, 25 Mar 2020 06:04:45 -0400 (EDT) (envelope-from kim.lassila@gmail.com) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 9533BCAFF3F; Wed, 25 Mar 2020 06:04:45 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1585130685; b=vYinwcy0JZqkB4I9x+lGV+GXComDkVNKco6k1brRie1QU8WWvQ FQRlC94eg12y9eDAmyM/XgruPmRSTuoQ91XxjAHeIWUu2laAy+X2yyzPCnzjlVaP BFnOKxsWYJQV/4PAYc56Rf3U1C6a+JFyBRJeQz3+2Vn13IiRx67CurWl81yM+xqN j5UbMZKREwfK3s8AGT0dQwFqaabsncMpFUp31pDtF437x3GWWpFEwqvZPW9uN1iy L1QtXBkEts4c+lNWMm+eBNLtSUhO2eFTCzI4I7sD1wUsUssvtSAUoOMhNhLRH4fS wj5TgRKc1RYqj1Ft3MFdHVDepIVAag6Axf4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:content-type:mime-version:subject:date :references:to:in-reply-to:message-id; s=arcseal; t=1585130685; bh=vEqbjjKNM2bNkvQJxjDAg20tAzH3AR4sqBYOQTNHElk=; b=oDNcPW/jd1s/ KiFMLEVhwur+xTieTLpOkoJ6/6J6Xz3BBIzG04DD0PmXZEm8zjrkhWGS+cbYGTja M2ZCgNeUT5UEM86niE3gKeTm2vuHY4kk1Pd8MMGcsSbQCuVv62dd125upbupr3yc zXMQbL9wT1VfvcqqcTzfNPhQ/dfxKmpT/12rg4P0WX6B9yrTXpMTnjmwrQg48ktW PeiBN3fRC43Yg0toOQnLXxrTVGCNDvwJxWZZZzgr8XLuz92yRrOokNFN9NYArWKw zWG/vdxXthKZCw9T8pamap7iVaLPkO/lYWlPvjf2B6j3/ms5f9xbS6PG+ulZq1v7 dss8CKQvuw== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=none (Domain is not BIMI enabled); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=bVgWVk5p header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.167.49 (mail-lf1-f49.google.com); spf=pass smtp.mailfrom=kim.lassila@gmail.com smtp.helo=mail-lf1-f49.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=VAbYpQ2J; x-ptr=pass smtp.helo=mail-lf1-f49.google.com policy.ptr=mail-lf1-f49.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=none (Domain is not BIMI enabled); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=bVgWVk5p header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.167.49 (mail-lf1-f49.google.com); spf=pass smtp.mailfrom=kim.lassila@gmail.com smtp.helo=mail-lf1-f49.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=VAbYpQ2J; x-ptr=pass smtp.helo=mail-lf1-f49.google.com policy.ptr=mail-lf1-f49.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedugedrudehfedguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhtggguf fffhfvjgfkofesrgdtmherhhdtjeenucfhrhhomhepmfhimhcunfgrshhsihhlrgcuoehk ihhmrdhlrghsshhilhgrsehgmhgrihhlrdgtohhmqeenucfkphepvddtledrkeehrdduie ejrdegledpkeekrdduleefrddvvddvrdekgeenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepihhnvghtpedvtdelrdekhedrudeijedrgeelpdhhvghlohepmhgrihhlqd hlfhduqdhfgeelrdhgohhoghhlvgdrtghomhdpmhgrihhlfhhrohhmpeeokhhimhdrlhgr shhsihhlrgesghhmrghilhdrtghomhequcfukfgkgfepuddujeehvd X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'kim.lassila@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="kim.lassila@gmail.com"; helo=mail-lf1-f49.google.com; client-ip=209.85.167.49 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Wed, 25 Mar 2020 06:04:45 -0400 (EDT) (envelope-from kim.lassila@gmail.com) Received: by mail-lf1-f49.google.com with SMTP id j11so1260047lfg.4 for <9fans@9fans.net>; Wed, 25 Mar 2020 03:04:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=vEqbjjKNM2bNkvQJxjDAg20tAzH3AR4sqBYOQTNHElk=; b=bVgWVk5pfNecccVu5FtpXarHE0s1du4rbWQzI3mUG7JmFVs/9w3qsBue9neBflRiPw qmpTINnqjVkVvhLMfJZAch4GWqDs1V4KV5xA7jcWt3W/dFOruabZveGIBEjyDfMF3A5L 73ss+zbIZTeWhGG5tJDTvMnIuTMxbnl/K5JDBJ+FTQNkcvFOYTXBvIPUg0xj9n03IlqL I8KXTEi8UMBl+Pqg2Vz06HuX1ZDVBQQaXBgTw9eQHPkT0AlwKic3Mhupyj78dKiEVGV6 jLbSvimkaBYJMjIl7ukjPfTBYm2kStK8pnjAe9HCt7+n5vhkdTJXUizK8AumfqtNHwB9 Z3Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=vEqbjjKNM2bNkvQJxjDAg20tAzH3AR4sqBYOQTNHElk=; b=VAbYpQ2JbpUYhmKqOsXhMoYvDx5j+aPrW4iRParZaIwbOz3gU/EbndK9hGAnQO+Mi5 JUVpYqTf848gj7l1mYQHPxFSK3YNveCacX2pIIzRTbtuwoPgOFg9xsS/JhO2FR7R+Zzc XMcGXHx/vnCE5lp7xDXpaDr17xrhRmsOJEHz/7duE+thqavbGu+gGnRZ7KjT6Duy+ZCr 0p2/IIlNxsquGbgNP3uGO5pvqXFhwrbfIt3xD7uZS20qSf1iqR8qhfB4WdvHu4uUx1a8 PXJG1vlcKPDb5QAcKGUYPcUN+MqgGObQefZtu6RorrCiIhwOra7gccLavf131QshkVy0 WX1Q== X-Gm-Message-State: ANhLgQ3RJcgX/1GJ3RcE8uKn+kYwuQXoq8LSkGMJgT9LS8+MtxYIT927 2NOZzlRewk1Q48wAPkuAmH8qG13b X-Google-Smtp-Source: ADFU+vtmrRuNjhxwctPSQaA3rTVytr/pEyA0Nm9i85M4+0+ErzonDgKY2HHl5Tdv1wHsff7/SKHa0Q== X-Received: by 2002:ac2:53b2:: with SMTP id j18mr1805877lfh.206.1585130682990; Wed, 25 Mar 2020 03:04:42 -0700 (PDT) Received: from [192.168.0.104] (dsl-tkubng21-58c1de-84.dhcp.inet.fi. [88.193.222.84]) by smtp.gmail.com with ESMTPSA id y6sm11423717lfy.38.2020.03.25.03.04.41 for <9fans@9fans.net> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Mar 2020 03:04:42 -0700 (PDT) From: Kim Lassila X-Google-Original-From: Kim Lassila Content-Type: multipart/alternative; boundary="Apple-Mail=_6F3444FF-D4D9-44B0-B45F-2CAC55112BD1" Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: [9fans] Plan9 on virtual machine in Mac os Date: Wed, 25 Mar 2020 12:04:39 +0200 References: <15838110370.EA8c2.229460@composer.9fans.topicbox.com> <527DF2F5-4EB1-48E7-B253-8CA2E86D6FAD@gmail.com> To: 9fans <9fans@9fans.net> In-Reply-To: <527DF2F5-4EB1-48E7-B253-8CA2E86D6FAD@gmail.com> Message-Id: <26023930-CA20-4922-B0F2-C6B91AE3E59A@gmail.com> X-Mailer: Apple Mail (2.3608.60.0.2.5) Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 10c45e1a-6e80-11ea-bea7-8d0988f628b4 --Apple-Mail=_6F3444FF-D4D9-44B0-B45F-2CAC55112BD1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On Mar 25, 2020, at 3:32 AM, Mark Everett wrote: >=20 > Does anyone know of a virtual machine running on current Mac OS that = hosts plan9? Preferably one that isn=E2=80=99t too difficult to set = up=E2=80=A6. Hi Mark, I run both 9front and 9legacy on macOS with Qemu. The installation of = qemu 4.2.0 was a breeze via Homebrew: Mac % brew install qemu The Plan 9 file server VM boots off a virtual disk image that has 9fat, = nvram, and fossil. I launch it with the following command: Mac % cd $HOME/plan9/fs && qemu-system-x86_64 -m 512 -name 'file server' \ -nographic \ -no-reboot \ -drive 'if=3Dnone,id=3Dhd,file=3Dfossil.raw,format=3Draw' \ -device 'virtio-scsi-pci,id=3Dscsi' -device 'scsi-hd,drive=3Dhd' \ -device virtio-net-pci,netdev=3Dn0,mac=3D52:54:00:09:09:02 \ -netdev user,id=3Dn0,hostfwd=3Dtcp::564-:564 The Plan 9 terminal boots directly off a 9front kernel supplied on the = command line. I launch the VM with this command: Mac % cd $HOME/plan9/terminal && qemu-system-x86_64 -m 1024 -kernel 9pc64 -initrd plan9.ini \ -name terminal \ -no-reboot \ -device virtio-net-pci,netdev=3Dn0,mac=3D52:54:00:09:09:09 \ -netdev user,id=3Dn0,hostfwd=3Dtcp::8080-:80 2>&1 | grep -v 'multiboot = knows VBE' I was testing a simple web server written in Go on the terminal and = that=E2=80=99s why I am forwarding tcp port 8080 into it.=20 It took quite a lot of iterations to get these commands right. Hope this = helps. Kim --Apple-Mail=_6F3444FF-D4D9-44B0-B45F-2CAC55112BD1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 On = Mar 25, 2020, at 3:32 AM, Mark Everett <everettm@gmail.com> = wrote:

Does anyone know of a virtual = machine running on current Mac OS that hosts plan9?  Preferably one = that isn=E2=80=99t too difficult to set up=E2=80=A6.

Hi = Mark,

I run = both 9front and 9legacy on macOS with Qemu. The installation of qemu = 4.2.0 was a breeze via Homebrew:

Mac % brew install qemu

The Plan 9 file server = VM boots off a virtual disk image that has 9fat, nvram, and fossil. I = launch it with the following command:

Mac % = cd $HOME/plan9/fs &&
qemu-system-x86_64 -m 512 -name 'file server' = \
-nographic \
-no-reboot \
-drive = 'if=3Dnone,id=3Dhd,file=3Dfossil.raw,format=3Draw' \
-device 'virtio-scsi-pci,id=3Dscsi' = -device 'scsi-hd,drive=3Dhd' \
-device = virtio-net-pci,netdev=3Dn0,mac=3D52:54:00:09:09:02 \
-netdev = user,id=3Dn0,hostfwd=3Dtcp::564-:564

The Plan 9 = terminal boots directly off a 9front kernel supplied on the command = line. I launch the VM with this command:

Mac % = cd $HOME/plan9/terminal &&
qemu-system-x86_64 -m 1024 -kernel 9pc64 -initrd plan9.ini = \
-name = terminal \
-no-reboot \
-device = virtio-net-pci,netdev=3Dn0,mac=3D52:54:00:09:09:09 \
-netdev user,id=3Dn0,hostfwd=3Dtcp::8080-:= 80 2>&1 | grep -v 'multiboot knows VBE'

I was testing a simple = web server written in Go on the terminal and that=E2=80=99s why I am = forwarding tcp port 8080 into it. 

It took quite a lot of iterations to = get these commands right. Hope this helps.

Kim

= --Apple-Mail=_6F3444FF-D4D9-44B0-B45F-2CAC55112BD1--