[pve-devel] [PATCH 02/11] change print_drive sub to new device syntax

Dietmar Maurer dietmar at proxmox.com
Thu Sep 8 09:16:10 CEST 2011


do we really need "if=none" here?

> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Derumier Alexandre
> Sent: Mittwoch, 07. September 2011 15:35
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] [PATCH 02/11] change print_drive sub to new device syntax
> 
> 
> Signed-off-by: Derumier Alexandre <aderumier at odiso.com>
> ---
>  PVE/QemuServer.pm |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 4ca6e48..1d11e6f
> 100644
> --- a/PVE/QemuServer.pm
> +++ b/PVE/QemuServer.pm
> @@ -868,7 +868,7 @@ sub print_drive_full {
> 
>      my $pathinfo = $path ? "file=$path," : '';
> 
> -    return "${pathinfo}if=$drive->{interface},index=$drive->{index}$opts";
> +    return
> + "${pathinfo}if=none,id=drive-$drive->{interface}$drive->{index}$opts";
>  }
> 
> 
> --
> 1.7.2.5
> 
> _______________________________________________
> 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