[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 1/2] tests/docker/docker.py: support --qemu
Re: [Qemu-devel] [RFC PATCH 1/2] tests/docker/docker.py: support --qemu option
Wed, 1 Jun 2016 11:00:45 +0800
On Tue, 05/31 16:23, Alex Bennée wrote:
> >> +def _find_user_binary(binary_name):
> >> + """ Find a binary in the QEMU source tree. Used for finding
> >> qemu-$arch."""
> >> + top = os.path.abspath("%s/../../.." % sys.argv)
> > What if this is an out of tree build?
> Yes I kinda avoided the complexity here. Do we have a programatic way of
> finding this out or should we just assume we get based a resolvable path?
As said below, let's assume the user provides an absolute path or a relative
path against the working directory, so we don't need to worry about path
guessing. The script caller should have more information.
Re: [Qemu-devel] [RFC PATCH 0/2] Support building qemu-user powered docker test images, Fam Zheng, 2016/05/27