forked from Mirror/pmbootstrap
pmb.qemu.run.which_qemu: remove args argument (MR 2114)
Drop the argument, as it is not used.
This commit is contained in:
parent
944f539dd6
commit
58922142ac
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue