]> git.proxmox.com Git - mirror_qemu.git/commit - exec.c
memory: per-AddressSpace dispatch
authorAvi Kivity <avi@redhat.com>
Wed, 3 Oct 2012 14:22:53 +0000 (16:22 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 22 Oct 2012 12:50:08 +0000 (14:50 +0200)
commitac1970fbe8ad5a70174f462109ac0f6c7bf1bc43
treeaa2f9702bfd593515b6fb7ee438f6cc5bacef74e
parent0e8a6d47afcc88564079387928f2da45736d36e8
memory: per-AddressSpace dispatch

Currently we use a global radix tree to dispatch memory access.  This only
works with a single address space; to support multiple address spaces we
make the radix tree a member of AddressSpace (via an intermediate structure
AddressSpaceDispatch to avoid exposing too many internals).

A side effect is that address_space_io also gains a dispatch table.  When
we remove all the pre-memory-API I/O registrations, we can use that for
dispatching I/O and get rid of the original I/O dispatch.

Signed-off-by: Avi Kivity <avi@redhat.com>
cputlb.c
cputlb.h
exec.c
memory-internal.h
memory.c
memory.h