From: Alexander Graf <agraf@suse.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] shm problem
Date: Fri, 22 Jun 2007 17:21:14 +0200 [thread overview]
Message-ID: <467BE8EA.7070705@suse.de> (raw)
Hi,
when using mmap with qemu-i386 on x86_64 it's quite simple to get 32-bit
pointers back (using the MAP_32BIT flag, thanks to Kirill for the patch).
I'm currently in the need for shared memory though, so I need shmat() to
return something within the lower 31 Bits as well.
shmget(0x56a4d5, 488, IPC_CREAT|0660) = 11075627
shmat(11075627, 0, 0) = 0x2b4ceb29e000
Does anyone have an idea how to get around this and force shmat to
return something a 32-bit target can handle? In the end it only calls
mmap too...
Thanks,
Alex
reply other threads:[~2007-06-22 15:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=467BE8EA.7070705@suse.de \
--to=agraf@suse.de \
--cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.