qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Adding memory region without specifying address
@ 2014-06-28  0:29 Stalley, Sean
  2014-06-28  1:26 ` Peter Crosthwaite
  0 siblings, 1 reply; 6+ messages in thread
From: Stalley, Sean @ 2014-06-28  0:29 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 654 bytes --]

Hello All,

I am working on building a hardware model for QEMU. This model needs a couple memory regions for MMIO.
The thing is, I don't particularly care what the physical address of the memory region is (so long as it doesn't overlap with any other memory region).

I was wondering if QEMU is able to 'allocate' a memory region for hardware (IE: I call into something saying I need a memory region X bytes long, and QEMU returns with a pointer to a memory region X bytes long).

Can QEMU do this? was looking at the various flavors of memory_region_add_subregion(), but they all seem to require a hardware offset...

Thanks,
Sean O. Stalley

[-- Attachment #2: Type: text/html, Size: 2638 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-01  4:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-28  0:29 [Qemu-devel] Adding memory region without specifying address Stalley, Sean
2014-06-28  1:26 ` Peter Crosthwaite
2014-06-30 17:53   ` Stalley, Sean
2014-06-30 20:21     ` Alexander Graf
2014-06-30 21:47       ` Stalley, Sean
2014-07-01  4:03         ` Alexander Graf

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).