pmb.qemu.run.which_qemu: remove args argument (MR 2114)

Drop the argument, as it is not used.
This commit is contained in:
BO41 2021-09-20 12:00:13 +02:00 committed by Oliver Smith
parent 944f539dd6
commit 58922142ac
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ def create_second_storage(args):
return path
def which_qemu(args, arch):
def which_qemu(arch):
"""
Finds the qemu executable or raises an exception otherwise
"""
@ -112,7 +112,7 @@ def command_qemu(args, arch, img_path, img_path_2nd=None):
ncpus = 8
if args.host_qemu:
qemu_bin = which_qemu(args, arch)
qemu_bin = which_qemu(arch)
env = {}
command = [qemu_bin]
else: