[pve-devel] [PATCH] rbd is format raw for qemu-img

Dietmar Maurer dietmar at proxmox.com
Fri Apr 19 11:41:58 CEST 2013


applied, thanks

> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Stefan Priebe
> Sent: Freitag, 19. April 2013 08:36
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] [PATCH] rbd is format raw for qemu-img
> 
> 
> Signed-off-by: Stefan Priebe <s.priebe at profihost.ag>
> ---
>  PVE/QemuServer.pm |    5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index
> 03e5018..5347a5b 100644
> --- a/PVE/QemuServer.pm
> +++ b/PVE/QemuServer.pm
> @@ -4542,7 +4542,10 @@ sub qemu_img_format {
>      elsif ($scfg->{type} eq 'lvm' || $scfg->{type} eq 'iscsi'){
>  	return "host_device";
>      }
> -    #sheepdog,rbd,or other qemu block driver
> +    elsif ($scfg->{type} eq 'rbd'){
> +	return "raw";
> +    }
> +    #sheepdog,or other qemu block driver
>      else{
>  	return $scfg->{type};
>      }
> --
> 1.7.10.4
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel





More information about the pve-devel mailing list