From owner-freebsd-virtualization@FreeBSD.ORG Sun Oct 26 21:45:22 2014 Return-Path: Delivered-To: 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 9BF90C05 for ; Sun, 26 Oct 2014 21:45:22 +0000 (UTC) Received: from smtp.digiware.nl (smtp.digiware.nl [31.223.170.169]) (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 59A5DB60 for ; Sun, 26 Oct 2014 21:45:21 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id CDB99153416 for ; Sun, 26 Oct 2014 22:45:18 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZZ8hROnalRDX; Sun, 26 Oct 2014 22:45:17 +0100 (CET) Received: from [192.168.10.9] (vaio [192.168.10.9]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id CFCA4153411 for ; Sun, 26 Oct 2014 22:45:17 +0100 (CET) Message-ID: <544D6B6F.8020004@digiware.nl> Date: Sun, 26 Oct 2014 22:45:19 +0100 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: "freebsd-virtualization@freebsd.org" Subject: Re: Looking for a Libvirt example xml file References: <544C28C8.2060108@digiware.nl> In-Reply-To: <544C28C8.2060108@digiware.nl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Sun, 26 Oct 2014 21:45:22 -0000 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 --WjW