Signed-off-by: Filip Schauer <f.scha...@proxmox.com> --- PVE/QemuServer.pm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index a7b237e..1a1080d 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -45,7 +45,7 @@ use PVE::RPCEnvironment; use PVE::Storage; use PVE::SysFSTools; use PVE::Systemd; -use PVE::Tools qw(run_command file_read_firstline file_get_contents dir_glob_foreach get_host_arch $IPV6RE); +use PVE::Tools qw(run_command file_read_firstline file_get_contents dir_glob_foreach get_host_arch is_native $IPV6RE); use PVE::QMPClient; use PVE::QemuConfig; @@ -3286,11 +3286,6 @@ sub vga_conf_has_spice { return $1 || 1; } -sub is_native($) { - my ($arch) = @_; - return get_host_arch() eq $arch; -} - sub get_vm_arch { my ($conf) = @_; return $conf->{arch} // get_host_arch(); -- 2.39.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel