[pve-devel] scsihw / hotplug integration into GUI
    Alexandre DERUMIER 
    aderumier at odiso.com
       
    Mon Aug 13 11:40:11 CEST 2012
    
    
  
qemuserver.pm
print_drivedevice_full
my $devicetype = 'hd';
        my $path = '';
  if (drive_is_cdrom($drive)) {
              $devicetype = 'cd';
          } else {
              if ($drive->{file} =~ m|^/|) {
                  $path = $drive->{file};
              } else {
                  $path = PVE::Storage::path($storecfg, $drive->{file});
              }
              $devicetype = 'block' if path_is_scsi($path);
         }
----- Mail original ----- 
De: "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag> 
À: "Dietmar Maurer" <dietmar at proxmox.com> 
Cc: "Alexandre DERUMIER" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Lundi 13 Août 2012 11:15:45 
Objet: Re: [pve-devel] scsihw / hotplug integration into GUI 
Am 13.08.2012 11:10, schrieb Dietmar Maurer: 
>>> OK, I guess your suggestion is reasonable. 
>> 
>> thanks, so a patch which will extent the syntax for scsihw to 
>> scsihw: virtio-scsi-pci,scsi-generic 
>> 
>> is fine? 
> 
> We currently autodetect 'scsi-block'. Can't we do the same with scsi-generic? 
> Or should we disable that auto-detection? 
Can have a look at that. Where does this autodetection happen? 
Stefan 
-- 
-- 
	
Alexandre D e rumier 
Ingénieur Systèmes et Réseaux 
Fixe : 03 20 68 88 85 
Fax : 03 20 68 90 88 
45 Bvd du Général Leclerc 59100 Roubaix 
12 rue Marivaux 75002 Paris 
    
    
More information about the pve-devel
mailing list