Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2014 14:20:19 -0700
From:      Peter Grehan <grehan@freebsd.org>
To:        Arthur Mesh <amesh@juniper.net>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: bhyve userboot -- lack of inb()/outb() in ficl
Message-ID:  <53EBD693.5080407@freebsd.org>
In-Reply-To: <20140813191947.GO73055@juniper.net>
References:  <20140813191947.GO73055@juniper.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53EBD693.5080407>