Re: [Qemu-devel] [PATCH] exec: move io_mem_read/write to memory.h

2013-06-13 Thread Paolo Bonzini
Il 13/06/2013 18:26, Michael S. Tsirkin ha scritto: > On Thu, Jun 13, 2013 at 06:04:41PM -0400, Paolo Bonzini wrote: >> Il 13/06/2013 08:59, Michael S. Tsirkin ha scritto: >>> implementation is in memory.c, move function >>> to match. This allows use from places that >>> don't pull in exec-all.h >>

Re: [Qemu-devel] [PATCH] exec: move io_mem_read/write to memory.h

2013-06-13 Thread Michael S. Tsirkin
On Thu, Jun 13, 2013 at 06:04:41PM -0400, Paolo Bonzini wrote: > Il 13/06/2013 08:59, Michael S. Tsirkin ha scritto: > > implementation is in memory.c, move function > > to match. This allows use from places that > > don't pull in exec-all.h > > But they shouldn't be used. :) > > Everything excep

Re: [Qemu-devel] [PATCH] exec: move io_mem_read/write to memory.h

2013-06-13 Thread Paolo Bonzini
Il 13/06/2013 08:59, Michael S. Tsirkin ha scritto: > implementation is in memory.c, move function > to match. This allows use from places that > don't pull in exec-all.h But they shouldn't be used. :) Everything except the current users (TCG, and address_space_rw and friends) should go through e

[Qemu-devel] [PATCH] exec: move io_mem_read/write to memory.h

2013-06-13 Thread Michael S. Tsirkin
implementation is in memory.c, move function to match. This allows use from places that don't pull in exec-all.h Signed-off-by: Michael S. Tsirkin --- include/exec/exec-all.h | 5 - include/exec/memory.h | 5 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/exe