[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:48:03 CEST 2016


please ignore this, wrong shoot

On 09/13/2016 02:47 PM, Emmanuel Kasper wrote:
> 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;
>  
> 




More information about the pve-devel mailing list