Re: [PATCH] rbd: Return VIR_STORAGE_FILE_RAW as format for RBD volumes

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

 



On 24.12.2015 13:34, Wido den Hollander wrote:
> This used to return 'unkown' and that was not correct.
> 
> A vol-dumpxml now returns:
> 
> <volume type='network'>
>   <name>image3</name>
>   <key>libvirt/image3</key>
>   <source>
>   </source>
>   <capacity unit='bytes'>10737418240</capacity>
>   <allocation unit='bytes'>10737418240</allocation>
>   <target>
>     <path>libvirt/image3</path>
>     <format type='raw'/>
>   </target>
> </volume>
> 
> The RBD driver will now error out if a different format than RAW
> is provided when creating a volume.
> 
> Signed-off-by: Wido den Hollander <wido@xxxxxxxxx>
> ---
>  src/conf/storage_conf.c           |  3 ++-
>  src/storage/storage_backend_rbd.c | 13 +++++++++++++
>  2 files changed, 15 insertions(+), 1 deletion(-)
> 


ACKed and pushed.

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]