[libvirt] [Libvirt][QEMU][HLFS]How to test HLFS driver for Libvirt

harryxiyou harryxiyou at gmail.com
Mon Jan 28 15:23:42 UTC 2013


On Mon, Jan 28, 2013 at 11:06 PM, harryxiyou <harryxiyou at gmail.com> wrote:
> On Mon, Jan 28, 2013 at 10:44 PM, MORITA Kazutaka
> <morita.kazutaka at gmail.com> 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 ;-)


-- 
Thanks
Harry Wei




More information about the libvir-list mailing list