]> git.proxmox.com Git - qemu-server.git/commitdiff
drive: style fix the name of the get_scsi_device_type method
authorHannes Duerr <h.duerr@proxmox.com>
Wed, 10 Apr 2024 11:17:30 +0000 (13:17 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 10 Apr 2024 11:56:50 +0000 (13:56 +0200)
Signed-off-by: Hannes Duerr <h.duerr@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Qemu.pm
PVE/QemuServer.pm
PVE/QemuServer/Drive.pm

index 497987ff550a256730400eeaae99fbd84af2e9ff..dc44dee18dec8b84ee80c39388065c093bca3fae 100644 (file)
@@ -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') {
index 6e2c805228fa9ce05c507ca296de77c04e2e42e5..bd375a2b85b89b72c182e627687213f0b5bf59b6 100644 (file)
@@ -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') {
index c829bdeb88eaa4ec5c699bbd9d4d2d271013df31..6a4fafd95cf07c17c06b5d94e83ec8a30d59ab4c 100644 (file)
@@ -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';