memory: extract first iteration of address_space_read and address_space_write
commita203ac702e0720135fac8b1f2061d119814c1798
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Dec 2015 09:18:57 +0000 (9 10:18 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Dec 2015 16:33:49 +0000 (17 17:33 +0100)
treea4c4eddcef99ec509ca7c990caae480fa10b72b5
parenteb7eeb88628074207dd611472e712af775985e73
memory: extract first iteration of address_space_read and address_space_write

We want to inline the case where there is only one iteration, because
then the compiler can also inline the memcpy.  As a start, extract
everything after the first address_space_translate call.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c
include/exec/memory.h