All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] shm problem
@ 2007-06-22 15:21 Alexander Graf
  0 siblings, 0 replies; only message in thread
From: Alexander Graf @ 2007-06-22 15:21 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-22 15:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-22 15:21 [Qemu-devel] shm problem Alexander Graf

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.