qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Libvirt][QEMU][HLFS]How to test HLFS driver for Libvir


From: harryxiyou
Subject: Re: [Qemu-devel] [Libvirt][QEMU][HLFS]How to test HLFS driver for Libvirt
Date: Mon, 28 Jan 2013 23:43:04 +0800

On Mon, Jan 28, 2013 at 11:23 PM, harryxiyou <address@hidden> wrote:
> On Mon, Jan 28, 2013 at 11:06 PM, harryxiyou <address@hidden> wrote:
>> On Mon, Jan 28, 2013 at 10:44 PM, MORITA Kazutaka
>> <address@hidden> wrote:
>> [...]
>>> I'm not familiar with HLFS at all.  Sheepdog examples I explained to
>>> you in another mail may help you, but I cannot give you any other
>>> suggestions about HLFS.
>>>
>>
>> Thanks for your reminder, i have found this email.
>> Therefore, could you please explain how Sheepdog driver for Libvirt
>> communicate with QEMU?
>>
>> Thanks for your always help ;-)
>>
>
> After i did the test way you said, i got following errors.
>
> $ ./virsh vol-create -f sheepdog.xml
> error: Failed to reconnect to the hypervisor
> error: invalid connection
> error: internal error Unable to locate libvirtd daemon in $PATH
>
> $ cat sheepdog.xml
> <volume>
> <name>myvol</name>
> <key>sheep/myvol</key>
> <source>
> </source>
> <capacity unit='bytes'>53687091200</capacity>
> <allocation unit='bytes'>53687091200</allocation>
> <target>
> <path>sheepdog:myvol</path>
> <format type='unknown'/>
> <permissions>
> <mode>00</mode>
> <owner>0</owner>
> <group>0</group>
> </permissions>
> </target>
>
> Any suggestions? Thanks in advance ;-)
>

The version of Libvirt for Up test is 0.9.13.

Following test is Libvirt v0.8.6, which you just add Sheepdog volume
patch to Libvirt.

1, $ ./libvirtd
2, $ ./virsh vol-create -f sheepdog.xml
error: achieve pool  '-f' failure
error: can not find storage pool: no pool with matching name '-f'

Any suggestions? Thanks in advance ;-)

-- 
Thanks
Harry Wei



reply via email to

[Prev in Thread] Current Thread [Next in Thread]