From owner-freebsd-virtualization@FreeBSD.ORG Mon Oct 20 16:21:03 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88EE3E20 for ; Mon, 20 Oct 2014 16:21:03 +0000 (UTC) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4183965C for ; Mon, 20 Oct 2014 16:21:02 +0000 (UTC) Received: from john by potato.growveg.org with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XgFhL-000HM9-DP for freebsd-virtualization@freebsd.org; Mon, 20 Oct 2014 17:20:43 +0100 Date: Mon, 20 Oct 2014 17:20:43 +0100 From: John To: freebsd-virtualization@freebsd.org Subject: moving from virtualbox to bhyve Message-ID: <20141020162043.GA66615@potato.growveg.org> Reply-To: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: John X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: john@potato.growveg.org X-SA-Exim-Scanned: No (on potato.growveg.org); SAEximRunCond expanded to false X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2014 16:21:03 -0000 Hi, I'm trying to move from virtualbox to bhyve. From the server I've successfully converted an ubuntu guest on vbox to raw. What I'm trying to do is to load that into bhyve, (on another freebsd server) and I'm at the limits of my knowledge here; this isn't my speciality. The most recent information relevant to what I want to do, I found at https://www.monkeybrains.net/support/bhyve but (not his fault!) what I'm trying to accomplish is not what he set out to do. Has anyone done what I'm trying to do, or anyone know how to do it? The furthest I got was with this, the guest.img is the raw ubuntu from vbox: # bhyve -AI -H -P -s 0:0,hostbridge -s 1,lpc -s 2:0,virtio-net,tap1 -s 3:0,virtio-blk, \ ./guest.img -l com1,stdio -c 4 -m 1024M linuxguest [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.11.0-26-generic (buildd@comet) (gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu8) ) #45-Ubuntu SMP Tue Jul 15 04:02:06 UTC 2014 (Ubuntu 3.11.0-26.45-generic 3.11.10.12) [ 0.000000] Command line: console=ttyS0 BOOT_IMAGE=/boot/vmlinuz-3.11.0-26-generic root=UUID=9cd5a28b-8746-41f3-9b0e-8a950b8c5206 ro [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [...] [ 0.696113] io scheduler deadline registered (default) [ 0.696437] io scheduler cfq registered [ 0.696705] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 0.697052] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 0.697502] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 0.697951] ACPI: Power Button [PWRF] [ 0.698214] GHES: HEST is not enabled! [ 0.698808] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 0.719861] 00:01: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.740907] 00:02: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A [ 0.742883] Linux agpgart interface v0.103 [ 0.744250] brd: module loaded [ 0.745010] loop: module loaded Segmentation fault (core dumped) thanks, -- John