[libvirt] [Libvirt][Test]How to test storage solely in Libvirt?

harryxiyou harryxiyou at gmail.com
Mon Jan 28 09:42:37 UTC 2013


On Mon, Jan 28, 2013 at 11:28 AM, Osier Yang <jyang at redhat.com> wrote:
[...]
>
> It's bad that we don't have sheepdog pool documented in [1]
> when doing the patches. But the good thing is there are some
> documents for it in [2]. If you see the document is not
> enough. You can check the RNG schema to figure out the XMLs
> the sheepdog pool supports.
>
> $libvirt_source/docs/schemas/storagepool.rng
>
> Or even you may want to have a look at the test files:
>
> % grep -r sheepdog $libvirt_source/tests/storagepool*
>
> Once you have a workable pool XML, you can test it via virsh
> To see all the commands for pool and vol:
>
> % virsh help pool
> % virsh help volume
>
> Note that sheepdog pool in libvirt only support small parts
> of the operations though.
>
> Hope it helps. And please don't hestimate pinging the list if
> you find any problems.
>
> [1] http://libvirt.org/formatstorage.html
> [2] http://libvirt.org/storage.html
>

Hi Yang,

Thanks for your suggestions ;-)

Currently, i also have following questions.

1, What are the differences between Sheepdog pool and Sheepdog
storage volumes? Actually, what are the differences between
http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=036ad5052b43fe9f0d197e89fd16715950408e1d
and
http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=29bc4fe6460d80c2aca1b90e54faed1431efcfa7
?

2, I wanna test patch
http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=036ad5052b43fe9f0d197e89fd16715950408e1d
and i have call back my libvirt git tree to the patch's commit version.
Could you please give me some suggestions for testing this patch?

3, Morita said if QEMU does not support Sheepdog then Libvirt will not
support Sheepdog but i am not clear about their communicating details.
Could you please tell me their communicating details?

Thanks in advance ;-)



-- 
Thanks
Harry Wei




More information about the libvir-list mailing list