[pve-devel] simplify scsihw name

Dietmar Maurer dietmar at proxmox.com
Wed Aug 29 13:52:34 CEST 2012


> I have use virtio-scsi-pci, to simply pass the model to
> 
> push @$devices, '-device', "$scsihw,id=scsihw$controller$pciaddr" if
> !$scsicontroller->{$controller};
> 
> (so It's works with new controllers, like megasas)

But it would be easy to add a hash table lookup for the real model name?
But maybe its not worth the efforts?


More information about the pve-devel mailing list