On Sat, Jan 3, 2015 at 8:15 AM, Luigi Rizzo <ri...@iet.unipi.it> wrote:
> 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.
> - 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.
I don't think there is a way to do exactly what you want.
I would recommend doing the following:
(1) Enable bvmdebug in your kernel config:
This allows you to do kgdb remote debugging into a bhyve VM.
(2) Build your disk image with makefs. You can use this script as an
If you still want the bhyve image to use the host's root file system, you
can start with the information here:
since you won't be using PXE, you will need to populate these variables in
loader.conf in your disk image:
email@example.com mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"