qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] linux-user: Support explicit targets for PowerP


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] linux-user: Support explicit targets for PowerPC
Date: Tue, 7 Nov 2017 15:24:35 +0000

On 7 November 2017 at 15:20, Aaron Sierra <address@hidden> wrote:
> I had that thought, too, as being the cleanest and simplest to implement,
> but it didn't work out as a practical solution. Having execution depend
> on the name of the file would require a lot of tuning of magics, masks,
> and interpreters in /proc/sys/fs/binfmt_misc to get the behavior that I
> depend on. It would require one entry per binary.
>
> With the implementation that I've proposed, I only need two fairly generic
> entries (ppc and ppc64) stock from Ubuntu's qemu-user-static package.
> With Docker it's trivial to bind <any_path>/qemu-ppc.e500mc to
> /usr/bin/qemu-ppc-static within the container. Which gives me complete
> control over how the container is emulated.

If you don't need the binfmt-invokes-the-right-QEMU magic to work
out of the box, why can't you just use a wrapper script here?

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]