Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jan 2015 21:06:37 +0400
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        freebsd-current@freebsd.org, neel@freebsd.org
Subject:   Re: any primer on running bhyve guests sharing disk with host ?
Message-ID:  <20150103170637.GA23767@zxy.spb.ru>
In-Reply-To: <20150103161511.GA94237@onelab2.iet.unipi.it>
References:  <20150103161511.GA94237@onelab2.iet.unipi.it>

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



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