mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-07 11:10:24 +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});
|
$path = PVE::Storage::path($storecfg, $drive->{file});
|
||||||
}
|
}
|
||||||
|
|
||||||
if($path =~ m/^iscsi\:\/\// &&
|
# for compatibility only, we prefer scsi-hd (#2408, #2355, #2380)
|
||||||
!qemu_machine_feature_enabled($machine_type, undef, 4, 1)) {
|
if ($path =~ m/^iscsi\:\/\// &&
|
||||||
|
!qemu_machine_feature_enabled($machine_type, undef, 4, 1)) {
|
||||||
$devicetype = 'generic';
|
$devicetype = 'generic';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user