From owner-freebsd-virtualization@FreeBSD.ORG Wed Oct 22 00:57: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 1E8AF67B for ; Wed, 22 Oct 2014 00:57:03 +0000 (UTC) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9927C907 for ; Wed, 22 Oct 2014 00:57:02 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id gm9so2027143lab.41 for ; Tue, 21 Oct 2014 17:57:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=IfNiiLnBvv1YrAkW747vVyIUuJBaJ7gB/XKyXj8HLss=; b=SFO4CWcUCW9bpmQAapHqXK2ct+s+TmF9Ftd3rqLGtn1/ADJS4j7XNEiy3FYcZxi3Uw 0kDiC6JYkWIhFZfkx8kaeuAPdu10pvJAdouex1J6aO6pGBIXAjKDpG6z+f0ddnx3Km3p 8w/g4bszGwcokDm+BMH+6x8ivDWDueFCO9wCXK6WllLybY35aqbKF44KEAXgw5Wkx59w r0Q/2oeMhY7JfESM1VCE8VS3PP6h/JBYRP+QyOrMCcmYFnHJDJn2GqT+yQDEAnQuxKii 9S4oaD2v71+c3yRVjlBBhdgCSTGYbE6Jax0yXNjpkfEQGQBgu4IsUqXcT9JqjZQ+uAei 6nfA== MIME-Version: 1.0 X-Received: by 10.112.73.37 with SMTP id i5mr2667610lbv.83.1413939420319; Tue, 21 Oct 2014 17:57:00 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.131.66 with HTTP; Tue, 21 Oct 2014 17:57:00 -0700 (PDT) In-Reply-To: References: Date: Tue, 21 Oct 2014 17:57:00 -0700 X-Google-Sender-Auth: xIgSV-OHM8k0GwmwUT5AIDF9sKo Message-ID: Subject: Re: Adding support for launching linux VMs in libvirtd/bhvye From: Craig Rodrigues To: Jonathan Wong Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-virtualization@freebsd.org" 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: Wed, 22 Oct 2014 00:57:03 -0000 On Tue, Oct 21, 2014 at 5:41 PM, Jonathan Wong wrote: > Hi- > > I'm looking at libvirt in the ports tree and I noticed that bhyvectl has > been added into libvirt. I'd like to add grub-bhyve to be able to load > linux VMs as I currently can do manually or with the VMRC scripts. > > Any pointers on which files to look at and modify would be great. > > Take a look at this discussion: https://lists.freebsd.org/pipermail/freebsd-virtualization/2014-October/002857.html We covered some of the topics you mentioned in that thread. If you want to hack on the libvirt code, you need to get it from a git repository on libvirt.org, see: http://libvirt.org/downloads.html Roman Bogorodskiy has been very good about pushing bhyve enhancements directly to the libvirt maintainers via git. We need more people working on libvirt for bhyve, so any help you can provide would be great. -- Craig