From: Peter Maydell <peter.maydell@linaro.org>
To: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Cc: Riku Voipio <riku.voipio@linaro.org>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PULL 00/24] Linux-user updates
Date: Mon, 18 Aug 2014 13:45:49 +0100 [thread overview]
Message-ID: <CAFEAcA-yQqPwV4xSqpsrc9g0S6b9eBUzEswgOQ8v4G_M1dHumw@mail.gmail.com> (raw)
In-Reply-To: <OF1B1C96A8.78C02C8F-ONC1257D38.00440ABB-C1257D38.00456A7F@transmode.se>
On 18 August 2014 13:38, Joakim Tjernlund <joakim.tjernlund@transmode.se> wrote:
> Peter Maydell <peter.maydell@linaro.org> wrote on 2014/08/18 12:58:48:
>> Well, binfmt-misc works fine for me as it is and presumably
>> for most people or we'd have had more complaints. So
>> breaking all those existing working setups is really something
>> we should avoid as much as possible.
>
> How do you use it? With LXC booting a VM with traditional init?
No. Just a straightforward chroot environment with a
statically linked qemu in it, and a binfmt_misc config like:
e104462:trusty:qemu$ cat /proc/sys/fs/binfmt_misc/qemu-arm
enabled
interpreter /usr/bin/qemu-arm-static
flags: OC
offset 0
magic 7f454c4601010100000000000000000002002800
mask ffffffffffffff00fffffffffffffffffeffffff
This works fine for the things I try to run in the chroot
(mostly test programs, also bash and basic command
line utilities).
> There are complaints which dists had to solve because QEMU didn't. Usually
> this is a separate static QEMU package/hack with a binfmt wrapper.
> Gentoo used to have one but this got removed.
I'm sure there are cases which don't work; but we should try
to find a way which allows us to make those work (with a
recommended change to binfmt misc registration) which
doesn't break the old configs in the process.
thanks
-- PMM
next prev parent reply other threads:[~2014-08-18 12:46 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-15 11:01 [Qemu-devel] [PULL 00/24] Linux-user updates riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 01/24] linux-user: /proc/self/maps content riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 02/24] linux-user: redirect openat calls riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 03/24] linux-user: make binfmt flag O require P riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 04/24] linux-user: Fix syscall instruction usermode emulation on X86_64 riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 05/24] linux-user: Fix conversion of sigevent argument to timer_create riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 06/24] linux-user: fix readlink handling with magic exe symlink riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 07/24] linux-user: support timerfd_{create, gettime, settime} syscalls riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 08/24] linux-user: support ioprio_{get, set} syscalls riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 09/24] linux-user: support {name_to, open_by}_handle_at syscalls riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 10/24] linux-user: add setns and unshare riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 11/24] linux-user: PPC64 semid_ds Doesnt Include _unused1 and _unused2 riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 12/24] linux-user: Dereference Pointer Argument to ipc/semctl Sys Call riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 13/24] linux-user: Properly Handle semun Structure In Cross-Endian Situations riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 14/24] linux-user: Make ipc syscall's third argument an abi_long riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 15/24] linux-user: Conditionally Pass Attribute Pointer to mq_open() riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 16/24] linux-user: Detect Negative Message Sizes in msgsnd System Call riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 17/24] linux-user: Handle NULL sched_param argument to sched_* riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 18/24] linux-user: Detect fault in sched_rr_get_interval riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 19/24] linux-user: Move get_ppc64_abi riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 20/24] linux-user: Minimum Sig Handler Stack Size for PPC64 ELF V2 riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 21/24] linux-user: clock_nanosleep errno Handling on PPC riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 22/24] linux-user: Support target-to-host translation of mlockall argument riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 23/24] linux-user: writev Partial Writes riku.voipio
2014-08-15 11:01 ` [Qemu-devel] [PULL 24/24] linux-user: check return value of malloc() riku.voipio
2014-08-15 17:49 ` [Qemu-devel] [PULL 00/24] Linux-user updates Peter Maydell
2014-08-18 8:46 ` Riku Voipio
2014-08-18 10:49 ` Joakim Tjernlund
2014-08-18 10:58 ` Peter Maydell
2014-08-18 12:38 ` Joakim Tjernlund
2014-08-18 12:45 ` Peter Maydell [this message]
2014-08-18 12:59 ` Joakim Tjernlund
2014-08-18 13:04 ` Peter Maydell
2014-08-18 15:15 ` Joakim Tjernlund
2014-08-18 13:17 ` Riku Voipio
2014-08-18 15:35 ` Joakim Tjernlund
2014-08-18 13:02 ` Laurent Vivier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFEAcA-yQqPwV4xSqpsrc9g0S6b9eBUzEswgOQ8v4G_M1dHumw@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=joakim.tjernlund@transmode.se \
--cc=qemu-devel@nongnu.org \
--cc=riku.voipio@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).