Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2014 02:42:55 +0100
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        Conrad Meyer <cse.cem@gmail.com>
Cc:        "freebsd-virtualization@freebsd.org" <virtualization@freebsd.org>
Subject:   Re: Looking for a Libvirt example xml file
Message-ID:  <544C519F.5070202@digiware.nl>
In-Reply-To: <CAG6CVpVeot-cGpJT5esejgLeHYPjQwpdyghTNz5XeB1wntTFNw@mail.gmail.com>
References:  <544C28C8.2060108@digiware.nl> <CAG6CVpVeot-cGpJT5esejgLeHYPjQwpdyghTNz5XeB1wntTFNw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26-10-2014 1:37, Conrad Meyer wrote:
> On Sat, Oct 25, 2014 at 6:48 PM, Willem Jan Withagen <wjw@digiware.nl> 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?
> 
> 
> Hi Willem,
> 
> What do your <disk> sections look like? I am using basically the same
> configuration from libvirt's bhyve page as well and have no such issue
> (however, I am on recent git which is ~1.2.10, versus the 1.2.6 in
> ports). Example:
> 
>     <disk type='file' device='disk'>
>       <driver name='file' type='raw'/>
>       <source file='/path/to/foo.img'/>
>       <target dev='hda' bus='sata'/>
>     </disk>
> 
> For what it's worth, If you do not specify a bus, libvirt will choose
> 'ide' and libvirt-bhyve only supports SATA.

Seems that my CDrom block was a problem.
But the disk is already build, so I just skipped that.

But thing do not generate a lot of logging. :(
Not even with debug on 4

--WjW




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?544C519F.5070202>