mirror of
https://git.proxmox.com/git/qemu-server
synced 2026-01-27 01:32:35 +00:00
code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4c5a6a2419
commit
bd772c2e87
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user