mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-05 06:44:55 +00:00
followup: code cleanup and some comments
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
d1cbb1a93b
commit
a034e3d624
@ -1898,8 +1898,9 @@ sub print_drivedevice_full {
|
||||
$path = PVE::Storage::path($storecfg, $drive->{file});
|
||||
}
|
||||
|
||||
if($path =~ m/^iscsi\:\/\// &&
|
||||
!qemu_machine_feature_enabled($machine_type, undef, 4, 1)) {
|
||||
# for compatibility only, we prefer scsi-hd (#2408, #2355, #2380)
|
||||
if ($path =~ m/^iscsi\:\/\// &&
|
||||
!qemu_machine_feature_enabled($machine_type, undef, 4, 1)) {
|
||||
$devicetype = 'generic';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user