[pve-devel] applied: [PATCH qemu-server v2 2/2] fix indentation and trailing whitespace

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Feb 28 10:26:07 CET 2019


On 2/28/19 9:16 AM, Dominik Csapak wrote:
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> new in v2
>  PVE/QemuServer.pm | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
> index 5422296..3a7c540 100644
> --- a/PVE/QemuServer.pm
> +++ b/PVE/QemuServer.pm
> @@ -4132,14 +4132,14 @@ sub vm_deviceplug {
>  
>      } elsif ($deviceid =~ m/^(net)(\d+)$/) {
>  
> -        return undef if !qemu_netdevadd($vmid, $conf, $arch, $device, $deviceid);
> +	return undef if !qemu_netdevadd($vmid, $conf, $arch, $device, $deviceid);
>  
> -        my $machine_type = PVE::QemuServer::qemu_machine_pxe($vmid, $conf); 
> -        my $use_old_bios_files = undef;
> -        ($use_old_bios_files, $machine_type) = qemu_use_old_bios_files($machine_type);
> +	my $machine_type = PVE::QemuServer::qemu_machine_pxe($vmid, $conf);
> +	my $use_old_bios_files = undef;
> +	($use_old_bios_files, $machine_type) = qemu_use_old_bios_files($machine_type);
>  
> -        my $netdevicefull = print_netdevice_full($vmid, $conf, $device, $deviceid, undef, $use_old_bios_files, $arch, $machine_type);
> -        qemu_deviceadd($vmid, $netdevicefull);
> +	my $netdevicefull = print_netdevice_full($vmid, $conf, $device, $deviceid, undef, $use_old_bios_files, $arch, $machine_type);
> +	qemu_deviceadd($vmid, $netdevicefull);
>  	eval {
>  	    qemu_deviceaddverify($vmid, $deviceid);
>  	    qemu_set_link_status($vmid, $deviceid, !$device->{link_down});
> @@ -4148,7 +4148,7 @@ sub vm_deviceplug {
>  	    eval { qemu_netdevdel($vmid, $deviceid); };
>  	    warn $@ if $@;
>  	    die $err;
> -        }
> +	}
>  
>      } elsif (!$q35 && $deviceid =~ m/^(pci\.)(\d+)$/) {
>  
> 

applied




More information about the pve-devel mailing list