[libvirt] [PATCHv1.5 02/27] test: Implement fake storage pool driver in qemuxml2argv test

Michal Privoznik mprivozn at redhat.com
Tue Nov 26 18:31:02 UTC 2013


On 26.11.2013 17:48, Peter Krempa wrote:
> To support testing of "volume" disk backing, we need to implement a few
> disk driver backend functions.
> 
> The fake storage driver uses files in storagepoolxml2xmlout/POOLNAME.xml
> as XML files for pool definitions and volume names are in format
> "VOL_TYPE+VOL_PATH". By default type "block" is assumed (for iSCSI test
> compatibility).
> 
> The choice of this approach along with implemented functions was made so
> that <disk type='volume'> can be tested in the xml2argv test.
> ---
>  tests/qemuxml2argvtest.c | 162 +++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 162 insertions(+)
> 

ACK

Michal




More information about the libvir-list mailing list