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

View file

@ -44,7 +44,7 @@ def create_second_storage(args):
return path return path
def which_qemu(args, arch): def which_qemu(arch):
""" """
Finds the qemu executable or raises an exception otherwise 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 ncpus = 8
if args.host_qemu: if args.host_qemu:
qemu_bin = which_qemu(args, arch) qemu_bin = which_qemu(arch)
env = {} env = {}
command = [qemu_bin] command = [qemu_bin]
else: else: