[pve-devel] [PATCH] bugfix scsicontroller
Derumier Alexandre
aderumier at odiso.com
Wed Oct 19 05:54:37 CEST 2011
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 2377db5..d979bd1 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2140,7 +2140,7 @@ sub config_to_command {
my $controller = int($drive->{index} / $maxdev);
$pciaddr = print_pci_addr("scsi$controller");
push @$cmd, '-device', "lsi,id=scsi$controller$pciaddr" if !$scsicontroller->{$controller};
- my $scsicontroller->{$controller}=1;
+ $scsicontroller->{$controller}=1;
}
my $tmp = print_drive_full($storecfg, $vmid, $drive);
$tmp .= ",boot=on" if $conf->{bootdisk} && ($conf->{bootdisk} eq $ds);
--
1.7.2.5
More information about the pve-devel
mailing list