diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-28 00:49:54 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-28 00:49:54 +0000 |
commit | 5b9f457a8968f7ee0a4e8fd3dce66c2602da96f0 (patch) | |
tree | fca60705e7f024c8ddecdb97e859d8b8a015f7a0 /qemu-binfmt-conf.sh | |
parent | 3a4739d651cb69acfb23f7f8ec83784c24bc6e48 (diff) | |
download | qemu-5b9f457a8968f7ee0a4e8fd3dce66c2602da96f0.tar.gz qemu-5b9f457a8968f7ee0a4e8fd3dce66c2602da96f0.tar.bz2 qemu-5b9f457a8968f7ee0a4e8fd3dce66c2602da96f0.zip |
update
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@424 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-binfmt-conf.sh')
-rw-r--r-- | qemu-binfmt-conf.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-binfmt-conf.sh b/qemu-binfmt-conf.sh new file mode 100644 index 0000000000..a51f28102d --- /dev/null +++ b/qemu-binfmt-conf.sh @@ -0,0 +1,3 @@ +# enable automatic i386 program execution by the kernel (must enable binfmt_misc) +echo ':i386:M::\x7fELF\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff\xff:/usr/local/bin/qemu-i386:' > /proc/sys/fs/binfmt_misc/register +echo ':i486:M::\x7fELF\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x06:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff\xff:/usr/local/bin/qemu-i386:' > /proc/sys/fs/binfmt_misc/register |