]> git.proxmox.com Git - qemu-server.git/commitdiff
code cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Feb 2019 07:21:04 +0000 (08:21 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Feb 2019 07:30:13 +0000 (08:30 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QemuServer.pm

index 4e9db0c8a0f67ca415b8fb350bea6527e706b745..6e56eda49aaeec48c1614a1fdfdf374be499d89f 100644 (file)
@@ -3579,7 +3579,7 @@ sub config_to_command {
        next if !$d;
 
        my $pcie = $d->{pcie};
-       if($pcie){
+       if ($pcie) {
            die "q35 machine model is not enabled" if !$q35;
            # win7 wants to have the pcie devices directly on the pcie bus
            # instead of in the root port
@@ -3588,7 +3588,7 @@ sub config_to_command {
            } else {
                $pciaddr = print_pcie_addr("hostpci$i");
            }
-       }else{
+       } else {
            $pciaddr = print_pci_addr("hostpci$i", $bridges, $arch, $machine_type);
        }