Looking for a Libvirt example xml file

Conrad Meyer cse.cem at gmail.com
Mon Oct 27 00:30:26 UTC 2014


On Sun, Oct 26, 2014 at 5:45 PM, Willem Jan Withagen <wjw at 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


More information about the freebsd-virtualization mailing list