From owner-freebsd-virtualization@FreeBSD.ORG Mon Oct 27 00:30:26 2014 Return-Path: Delivered-To: virtualization@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 A15BD98B for ; Mon, 27 Oct 2014 00:30:26 +0000 (UTC) Received: from mail-vc0-x231.google.com (mail-vc0-x231.google.com [IPv6:2607:f8b0:400c:c03::231]) (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 62902B77 for ; Mon, 27 Oct 2014 00:30:26 +0000 (UTC) Received: by mail-vc0-f177.google.com with SMTP id hq11so1841962vcb.36 for ; Sun, 26 Oct 2014 17:30:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DvL++njfNleTTNlS4ihAfi0WnTAG1nwkKD9N815yjjA=; b=jCBgjD+Kqr/q2w/eRgpLugE4cCFAewpUqYD0s9MBA0SrDjvG6I6DLKMxgItfK989Wd R2MREbwvC2BOvNbfXIpGbcgW7iBPS3qZE/r01r5elvPkc/6OFjA/ucR/UhoBtn6y7ZnO pqtBQUkpQksqqIAmhOzFGt5ljI8d/mbJQGRrM0IPc0pi9+OHOsSCrSr0lNSwk4HTAgLl O1jmXmiX8QYPl3wR6Anu8CiN0mPbqxByL15GhRAntriaGE3kp52yMjCWBdOOSImFQnCO vC8IEe/DIsHXnNvoHqwFHNp2j+eYzvs1amxWRXrRmm6CRBNOW0Te+vR/VTM6x+dppd6E x81w== MIME-Version: 1.0 X-Received: by 10.220.14.194 with SMTP id h2mr14290310vca.9.1414369825476; Sun, 26 Oct 2014 17:30:25 -0700 (PDT) Received: by 10.220.150.68 with HTTP; Sun, 26 Oct 2014 17:30:25 -0700 (PDT) In-Reply-To: <544D6B6F.8020004@digiware.nl> References: <544C28C8.2060108@digiware.nl> <544D6B6F.8020004@digiware.nl> Date: Sun, 26 Oct 2014 20:30:25 -0400 Message-ID: Subject: Re: Looking for a Libvirt example xml file From: Conrad Meyer To: Willem Jan Withagen Content-Type: text/plain; charset=UTF-8 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: Mon, 27 Oct 2014 00:30:26 -0000 On Sun, Oct 26, 2014 at 5:45 PM, Willem Jan Withagen wrote: > On 26-10-2014 0:48, Willem Jan Withagen wrote: >> Hoi >> >> I tried the version on the libvirt.org/bhyve page. >> But that returns: >> >> freetest# virsh -c "bhyve:///system" domxml-to-native \\ >> --format bhyve-argv --xml /root/libvirt-example.xml >> error: unsupported configuration: unsupported disk device >> >> So I was wondering if somebody would like to share his working example? > > After building libvirt 1.2.10 > > I was able to load this XML: > /usr/sbin/bhyveload -m 214 -d /home/bhyve/FreeBSD/freebsd-head.disk bhyveCD > /usr/sbin/bhyve -c 1 -m 214 -A -I -H -P -s 0:0,hostbridge -s > 2:0,virtio-net,tap0,mac=52:54:00:63:43:69 -s > 3:0,virtio-blk,/home/bhyve/FreeBSD/freebsd-head.disk -s > 4:0,ahci-cd,/home/bhyve/FreeBSD/freebsd-head.iso bhyveCD Hi Willem, It appears 1.2.6 is too old. Please chime in on https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192441 , let's get this updated to 1.2.9 (latest release). And then we should figure out if the port maintainer needs a comaintainer to help keep this up to date. I've got some patches pending upstream that should really improve libvirt-bhyve integration when they land (which will be in 1.2.10 or later). Thanks, Conrad