[pve-devel] [PATCH qemu-server] Change default VM SCSI controller type from LSI to VirtIO-SCSI
Emmanuel Kasper
e.kasper at proxmox.com
Tue Sep 13 14:47:14 CEST 2016
see https://bugzilla.proxmox.com/show_bug.cgi?id=1106
---
PVE/QemuServer.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index df9932c..2836583 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -193,7 +193,7 @@ my $confdesc = {
type => 'string',
description => "scsi controller model",
enum => [qw(lsi lsi53c810 virtio-scsi-pci virtio-scsi-single megasas pvscsi)],
- default => 'lsi',
+ default => 'virtio-scsi-pci',
},
description => {
optional => 1,
@@ -3407,7 +3407,7 @@ sub vm_deviceplug {
} elsif ($deviceid =~ m/^(virtioscsi|scsihw)(\d+)$/) {
- my $scsihw = defined($conf->{scsihw}) ? $conf->{scsihw} : "lsi";
+ my $scsihw = defined($conf->{scsihw}) ? $conf->{scsihw} : "virtio-scsi-pci";
my $pciaddr = print_pci_addr($deviceid);
my $scsihw_type = $scsihw eq 'virtio-scsi-single' ? "virtio-scsi-pci" : $scsihw;
--
2.1.4
More information about the pve-devel
mailing list