From owner-freebsd-current@FreeBSD.ORG Sat Jan 3 16:10:29 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E481E5F5; Sat, 3 Jan 2015 16:10:29 +0000 (UTC) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.59.238]) by mx1.freebsd.org (Postfix) with ESMTP id A8A9E3EE1; Sat, 3 Jan 2015 16:10:29 +0000 (UTC) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id BC11E7300A; Sat, 3 Jan 2015 17:15:11 +0100 (CET) Date: Sat, 3 Jan 2015 17:15:11 +0100 From: Luigi Rizzo To: freebsd-current@freebsd.org, neel@freebsd.org Subject: any primer on running bhyve guests sharing disk with host ? Message-ID: <20150103161511.GA94237@onelab2.iet.unipi.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2015 16:10:30 -0000 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. cheers luigi