any primer on running bhyve guests sharing disk with host ?

Slawa Olhovchenkov slw at zxy.spb.ru
Sat Jan 3 17:06:40 UTC 2015


On Sat, Jan 03, 2015 at 05:15:11PM +0100, Luigi Rizzo wrote:

> Hi,
> in order to do some kernel testing, I would like to run bhyve guests
> using (through NFS, probably) the host's file system.
> diskless(8) is probably one way to go, i was wondering if
> someone has instructions for that.
> Specifically:
> - how to "bhyveload" a kernel (rather than the full disk image);
>   as an alternative, given a kernel, something to build an image
>   that can be passed to bhyveload
> 
> - how to pass the necessary config (rootpath) to the client
>   without having to rely on a specialized dhcp server
> 
> I used to be familiar with diskless configs, so i can probably sort
> out the server side myself.

May be I missunderstand you, but diskless client-specific config relay
on client IP address (ex: /conf/ip/1.2.3.4/...).

Also, diskless boot relay on BIOS network support (by PXE, for
example), with working NIC, assigned IP address and etc.


More information about the freebsd-current mailing list