[libvirt] [PATCH] rbd: Return VIR_STORAGE_FILE_RAW as format for RBD volumes
Michal Privoznik
mprivozn at redhat.com
Mon Jan 4 14:37:28 UTC 2016
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 at widodh.nl>
> ---
> src/conf/storage_conf.c | 3 ++-
> src/storage/storage_backend_rbd.c | 13 +++++++++++++
> 2 files changed, 15 insertions(+), 1 deletion(-)
>
ACKed and pushed.
Michal
More information about the libvir-list
mailing list