qemu-wrapper

qemu wrapper used for specifying args to qemu-user in chroots
git clone git://parazyd.org/qemu-wrapper.git
Log | Files | Refs | README

commit 271328e4013917670675c24e96ced06f00792f26
parent c1570bf3420d3c02477e81ea849ea658a25e4da0
Author: parazyd <parazyd@dyne.org>
Date:   Thu, 16 Jun 2016 22:24:04 +0200

docu update, freeze release

Diffstat:
MREADME.md | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -9,3 +9,9 @@ Compile qemu-wrapper with the below command and place it in `chroot/usr/bin/` ``` gcc -static qemu-wrapper.c -Os -s -o qemu-wrapper ``` + +To let binfmt_misc use it, execute the following: + +``` +echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/qemu-wrapper:' > /proc/sys/fs/binfmt_misc/register +```