mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-06 07:46:53 +00:00
cleanup: no need to prefix module for call to module-local method
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
e08553ba57
commit
20faf21e87
@ -7199,7 +7199,7 @@ sub version_cmp {
|
||||
sub runs_at_least_qemu_version {
|
||||
my ($vmid, $major, $minor, $extra) = @_;
|
||||
|
||||
my $v = eval { PVE::QemuServer::vm_qmp_command($vmid, { execute => 'query-version' }) } // {};
|
||||
my $v = eval { vm_qmp_command($vmid, { execute => 'query-version' }) } // {};
|
||||
$v = $v->{qemu};
|
||||
|
||||
return version_cmp($v->{major}, $major, $v->{minor}, $minor, $v->{micro}, $extra) >= 0;
|
||||
|
Loading…
Reference in New Issue
Block a user