From owner-freebsd-virtualization@FreeBSD.ORG Sat Sep 28 12:29:45 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 8734947E for ; Sat, 28 Sep 2013 12:29:45 +0000 (UTC) (envelope-from symbolics@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 116242992 for ; Sat, 28 Sep 2013 12:29:45 +0000 (UTC) Received: from lemon ([80.7.17.14]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LaGJa-1W8KkA3pjK-00m7RR for ; Sat, 28 Sep 2013 14:29:36 +0200 Received: by lemon (Postfix, from userid 1001) id 5AFF5EB250; Sat, 28 Sep 2013 13:29:36 +0100 (BST) Date: Sat, 28 Sep 2013 13:29:36 +0100 From: symbolics@gmx.com To: virtualization@freebsd.org Subject: Booting Linux VMs under Bhyve with fresh -CURRENT Message-ID: <20130928122936.GA48691@lemon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Provags-ID: V03:K0:y5W09cTSK8am68FiyGCUtwsztm9jbq4jpjo6aVtCnFS9WToTPlh gvmavCjP81LTyf2LyPGJ9p50sxvEo8Lagec8VdWqB9xnU7Fx+kxjhIhg5Hy2i5Nvw04iZ1Q dWaulCRd+ORsaeWU/M0V1uZ75Iz3p0/Iw33oIEjgQqbHT61qhP9kXiiMwYAJt65EdH1xGuY 1p1eGMCiokht+SaZCV/HA== 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:29:45 -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