Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2014 20:30:25 -0400
From:      Conrad Meyer <cse.cem@gmail.com>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        "freebsd-virtualization@freebsd.org" <virtualization@freebsd.org>
Subject:   Re: Looking for a Libvirt example xml file
Message-ID:  <CAG6CVpVBLogwcmuv36aoLVaqM%2Bw5-f=%2BHwdA5bN_KZm-OXO5ag@mail.gmail.com>
In-Reply-To: <544D6B6F.8020004@digiware.nl>
References:  <544C28C8.2060108@digiware.nl> <544D6B6F.8020004@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 26, 2014 at 5:45 PM, Willem Jan Withagen <wjw@digiware.nl> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpVBLogwcmuv36aoLVaqM%2Bw5-f=%2BHwdA5bN_KZm-OXO5ag>