From nobody Sun Jul 28 19:59:12 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WXC4S09nQz5RYVD for ; Sun, 28 Jul 2024 19:59:20 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [147.160.157.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "A1-48603", Issuer "A1-48603" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXC4Q67pcz47tj for ; Sun, 28 Jul 2024 19:59:18 +0000 (UTC) (envelope-from doug@safeport.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 147.160.157.40 is neither permitted nor denied by domain of doug@safeport.com) smtp.mailfrom=doug@safeport.com Received: from fledge.watson.org (doug@localhost [127.0.0.1]) by fledge.watson.org (8.17.1/8.17.1) with ESMTPS id 46SJxCue079036 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 28 Jul 2024 19:59:12 GMT (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.17.1/8.17.1/Submit) with ESMTP id 46SJxCd3079031; Sun, 28 Jul 2024 19:59:12 GMT (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Sun, 28 Jul 2024 19:59:12 +0000 (UTC) From: doug Reply-To: doug@safeport.com To: Aryeh Friedman cc: FreeBSD Mailing List Subject: Re: Passing physical serial port through to bhyve In-Reply-To: Message-ID: <83f140eb-7fc9-7016-a6eb-ab20a31a9ec@safeport.com> References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; HAS_XAW(0.00)[]; TAGGED_RCPT(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_TLS_LAST(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:6405, ipnet:147.160.157.0/24, country:US]; MIME_TRACE(0.00)[0:+]; FREEMAIL_TO(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[safeport.com]; HAS_REPLYTO(0.00)[doug@safeport.com] X-Rspamd-Queue-Id: 4WXC4Q67pcz47tj On Sun, 28 Jul 2024, Aryeh Friedman wrote: > Background: I am starting work on my PhD thesis in theoretical CS and > one of the things I need to do is prove both theoretically and > experimentally that a single (dataflowed) NAND is Turing complete (and > maps directly onto a lambda machine) and can do useful work (a > non-dataflowed one is theoretically Turing complete but can't be used > for anything useful [theorem in thesis]). In order to show this I > want to set up a breadboard with a single NAND on it with LED's on > both inputs and both outputs and then using the serial port of my > desktop send longer inputs and receive longer outputs then one bit. > > Due to the nature of the project I want to do all the development and > testing from a bhyve VM (already setup) thus I need to find a way have > that VM drive the actual physical serial port so as to conduct various > experiments to prove the above. > > -- > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org > > I assume you have seen https://forums.freebsd.org/threads/a-solid-howto-with-bhyve-on-freebsd-14-and-windows-11.92236/ but just in case ... I really hate to answer a question with why not use this, but ... bastille works in a no-brainer fashion without or without zfs. In my setup FreeBSD is the base system and the other systems are jails under that. This may not work for you for reasons I do not see but maybe with will get a discussion going. Doug