mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-04 18:29:16 +00:00
drive: style fix the name of the get_scsi_device_type method
Signed-off-by: Hannes Duerr <h.duerr@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
7e2065956f
commit
6906c2ab33
@ -751,7 +751,7 @@ sub assert_scsi_feature_compatibility {
|
||||
my $machine_type = PVE::QemuServer::get_vm_machine($conf, undef, $conf->{arch});
|
||||
my $machine_version = PVE::QemuServer::Machine::extract_version(
|
||||
$machine_type, PVE::QemuServer::kvm_user_version());
|
||||
my $drivetype = PVE::QemuServer::Drive::get_scsi_devicetype(
|
||||
my $drivetype = PVE::QemuServer::Drive::get_scsi_device_type(
|
||||
$drive, $storecfg, $machine_version);
|
||||
|
||||
if ($drivetype ne 'hd' && $drivetype ne 'cd') {
|
||||
|
@ -1413,7 +1413,7 @@ sub print_drivedevice_full {
|
||||
my $unit = $drive->{index} % $maxdev;
|
||||
|
||||
my $machine_version = extract_version($machine_type, kvm_user_version());
|
||||
my $devicetype = PVE::QemuServer::Drive::get_scsi_devicetype(
|
||||
my $devicetype = PVE::QemuServer::Drive::get_scsi_device_type(
|
||||
$drive, $storecfg, $machine_version);
|
||||
|
||||
if (!$conf->{scsihw} || $conf->{scsihw} =~ m/^lsi/ || $conf->{scsihw} eq 'pvscsi') {
|
||||
|
@ -848,7 +848,7 @@ sub path_is_scsi {
|
||||
return $res;
|
||||
}
|
||||
|
||||
sub get_scsi_devicetype {
|
||||
sub get_scsi_device_type {
|
||||
my ($drive, $storecfg, $machine_version) = @_;
|
||||
|
||||
my $devicetype = 'hd';
|
||||
|
Loading…
Reference in New Issue
Block a user