]> git.proxmox.com Git - qemu.git/commit - memory.h
memory: late initialization of ram_addr
authorAvi Kivity <avi@redhat.com>
Tue, 26 Jul 2011 11:26:07 +0000 (14:26 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 29 Jul 2011 13:25:43 +0000 (08:25 -0500)
commit16ef61c9e56657d39760e5ad6b9f5361f00b2083
tree5afb31147fdff479bc86c44e0b0e0c70efbda484
parent14a3c10ac890e1982e55bffa37aaca764b4b525b
memory: late initialization of ram_addr

For non-RAM memory regions, we cannot tell whether this is an I/O region
or an MMIO region.  Since the qemu backing registration is different for
the two, we have to defer initialization until we know which address
space we are in.

These shenanigans will be removed once the backing registration is unified
with the memory API.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
memory.c
memory.h