From owner-freebsd-virtualization@FreeBSD.ORG Wed Aug 13 21:20:32 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 490472D4 for ; Wed, 13 Aug 2014 21:20:32 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 0C90420CC for ; Wed, 13 Aug 2014 21:20:31 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 68FF7124AE; Thu, 14 Aug 2014 07:20:23 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.4.4-GA) with ESMTP id BXS12848 (AUTH peterg@ptree32.com.au); Thu, 14 Aug 2014 07:20:22 +1000 Message-ID: <53EBD693.5080407@freebsd.org> Date: Wed, 13 Aug 2014 14:20:19 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Arthur Mesh Subject: Re: bhyve userboot -- lack of inb()/outb() in ficl References: <20140813191947.GO73055@juniper.net> In-Reply-To: <20140813191947.GO73055@juniper.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2014 21:20:32 -0000 Hi Arthur, > I noticed that userboot doesn't contain inb()/outb() bindings: > > from loader(8): > inb (port -- char) > Reads a byte from a port. > > outb (port char --) > Writes a byte to a port. > > > Yet, manual page for bhyveload(8) claims: > > bhyveload is based on loader(8) and will present an interface identical > to the FreeBSD loader on the user's terminal. > > > Is there any interest in adding this functionality? It won't work for bhyveload/userboot - the VM isn't actually running at that point so there's nowhere for the commands to go. I also don't think these commands are supported on non-x86 loaders either, so it could be claimed an issue with the man page :) I can put some text in the bhyveload man page to indicate that not all x86 commands are supported (smap, pnpscan etc). Were you looking at using inb/outb for anything in particular ? later, Peter.