]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
memory: prepare AddressSpace for exporting
authorAvi Kivity <avi@redhat.com>
Tue, 2 Oct 2012 11:53:41 +0000 (13:53 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 15 Oct 2012 09:43:06 +0000 (11:43 +0200)
commit8786db7cb96f8ce5c75c6e1e074319c9dca8d356
tree993e608424e27fee8df99b3f67125f1f5449cbb9
parent12b40e471f33e552fa3d962887b416cf67831446
memory: prepare AddressSpace for exporting

AddressSpace contains a member, current_map, of type FlatView.  Since we
want to limit the leakage of internal types to public headers, switch to
a pointer to a FlatView.  There is no performance impact as this isn't used
during lookups, only address space reconfigurations.

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