[sheepdog-users] [Sheepdog][Libvirt]Boot VMs from sheepdog volumes error

harryxiyou harryxiyou at gmail.com
Fri Feb 1 12:08:40 CET 2013


Hi all,

I wanna boot VMs from sheepdog volumes so i do according to
https://github.com/collie/sheepdog/wiki/Libvirt
However, some errors happened to me like following.

$ ./virsh create os.xml
error:create domain from os.xml failure
error:(domain_definition):14: Premature end of data in tag domain line 1
(null)
^

$ cat os.xml
<domain type='qemu'>
<name>testvm</name>
<memory>1048576</memory>
<os>
<type arch='x86_64'>hvm</type>
</os>
<devices>
<disk type='network'>
<source protocol="sheepdog" name="testvdi"/>
<target dev='hda' bus='ide'/>
</disk>
<graphics type='vnc' port='-1' autoport='yes'/>
</devices>

Could anyone give me some help? Thanks.

-- 
Thanks
Harry Wei



More information about the sheepdog-users mailing list