qemu/include
Paolo Bonzini 149f54b53b memory: add address_space_translate
Using phys_page_find to translate an AddressSpace to a MemoryRegionSection
is unwieldy.  It requires to pass the page index rather than the address,
and later memory_region_section_addr has to be called.  Replace
memory_region_section_addr with a function that does all of it: call
phys_page_find, compute the offset within the region, and check how
big the current mapping is.  This way, a large flat region can be written
with a single lookup rather than a page at a time.

address_space_translate will also provide a single point where IOMMU
forwarding is implemented.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2013-05-29 16:26:50 +02:00
..
block coroutine: stop using AioContext in CoQueue 2013-05-24 16:17:56 +02:00
disas Add moxie disassembler 2013-03-23 14:25:41 +00:00
exec memory: add address_space_translate 2013-05-29 16:26:50 +02:00
fpu softfloat: Implement uint64_to_float128 2013-01-05 10:12:50 +00:00
hw Merge remote-tracking branch 'mjt/trivial-patches' into staging 2013-05-22 08:22:36 -05:00
migration savevm: Implement block_writev_buffer() 2013-04-15 08:26:18 +02:00
monitor add a new qevent: QEVENT_GUEST_PANICKED 2013-04-30 10:30:01 -05:00
net hw: move headers to include/ 2013-04-08 18:13:10 +02:00
qapi remove some double-includes 2013-05-18 16:35:12 +04:00
qemu remove some double-includes 2013-05-18 16:35:12 +04:00
qom qom: aggressively optimize qom casting 2013-05-13 15:27:18 -05:00
sysemu osdep, kvm: rename low-level RAM allocation functions 2013-05-14 08:53:31 -05:00
ui console: zap ds arg from register_displaychangelistener 2013-04-25 14:45:46 -05:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
glib-compat.h glib: add a compatibility interface for g_timeout_add_seconds 2013-03-25 13:10:40 -05:00
libfdt_env.h fdt: Use bswapN instead of bswap_N 2013-01-12 12:22:58 +00:00
qemu-common.h ui/gtk.c: Fix *BSD build of Gtk+ UI 2013-05-22 07:40:09 -05:00
trace.h build: some simplifications for "trace/Makefile.objs" 2013-01-12 18:42:51 +01:00