From owner-freebsd-virtualization@FreeBSD.ORG Sat Sep 28 12:23:53 2013 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D7EA63B8 for ; Sat, 28 Sep 2013 12:23:53 +0000 (UTC) (envelope-from symbolics@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 71C1E296A for ; Sat, 28 Sep 2013 12:23:53 +0000 (UTC) Received: from lemon ([80.7.17.14]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LjaEi-1W19Bp2Vo0-00bdF5 for ; Sat, 28 Sep 2013 14:23:45 +0200 Received: by lemon (Postfix, from userid 1001) id 7A581EB25B; Sat, 28 Sep 2013 13:07:50 +0100 (BST) Date: Sat, 28 Sep 2013 13:07:50 +0100 From: symbolics@gmx.com To: virtualization@freebsd.org Subject: Booting Linux VMs under Bhyve with fresh -CURRENT Message-ID: <20130928120750.GA48256@lemon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Provags-ID: V03:K0:/UE4jFwHd0y5juQz39CqX1CKGFZUww+OCGVNsSOsu4IvujuCpHV Z1yHOEPC3kgHnQX9b7Zfyao0wNLJdhtUDPGFEqty2jg+zeHrEGv7w5jzQfYCJd9+b6p90pS 2hAd98JIBIPqxUK5uwmZVyEXmEPv+/jm76m3Y+9MuHpBVGYm7NEToeuKqZEpux5NzwHvYbH KRqfc0fR3oYzb7vclEz7A== X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 28 Sep 2013 12:23:53 -0000 Hi I noticed Peter Grehan's commit today that suggests it is now possible to boot Ubuntu Linux under bhyve. I've tried a few things but I can't seem to get it to start. The manual pages for bhyve(8) and bhyvectl(8) seem to be missing at the moment, so I'm not sure how to proceed. From reading vmrun.sh I see it uses bhyveload which is only capable of booting FreeBSD. Experiments with using various bhyve command lines similar to that in vmrun.sh didn't succeed. # bhyve -AI -H -P -c 1 -m 512 \ -s 0:0,hostbridge \ -s 1:0,virtio-blk,ubuntu-01.vm \ -s 2:0,virtio-blk,ubuntu-13.04-server-amd64.iso \ ubuntu vm exit[0] reason VMX rip 0x0000000000000000 inst_length 0 error 0 exit_reason 33 qualification 0x0000000000000000 So, is it actually possibe to run Linux VMs today, given the userland tools in -CURRENT? If so, how is it done? Thanks! --sym