Re: [Qemu-devel] [RFC PATCH 1/2] tests/docker/docker.py: support --qemu option

2016-05-31 Thread Fam Zheng
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[0]) > > > > What if this is an out of tree build? > > Yes I kinda av

Re: [Qemu-devel] [RFC PATCH 1/2] tests/docker/docker.py: support --qemu option

2016-05-31 Thread Alex Bennée
Fam Zheng writes: > On Thu, 05/26 15:27, Alex Bennée wrote: >> When passed the name of a qemu-$arch binary we copy it and any linked >> libraries into the docker build context. These can then be included by a >> dockerfile with the line: >> >> # Copy all of context into container >> ADD . /

Re: [Qemu-devel] [RFC PATCH 1/2] tests/docker/docker.py: support --qemu option

2016-05-27 Thread Fam Zheng
On Thu, 05/26 15:27, Alex Bennée wrote: > When passed the name of a qemu-$arch binary we copy it and any linked > libraries into the docker build context. These can then be included by a > dockerfile with the line: > > # Copy all of context into container > ADD . / > > Signed-off-by: Alex Ben

[Qemu-devel] [RFC PATCH 1/2] tests/docker/docker.py: support --qemu option

2016-05-26 Thread Alex Bennée
When passed the name of a qemu-$arch binary we copy it and any linked libraries into the docker build context. These can then be included by a dockerfile with the line: # Copy all of context into container ADD . / Signed-off-by: Alex Bennée --- tests/docker/docker.py | 58 ++