Re: [Qemu-devel] [PATCH 09/39] Integrate I/O memory regions into qemu

2011-07-31 Thread Avi Kivity
On 08/01/2011 03:19 AM, Richard Henderson wrote: On 07/31/2011 10:57 AM, Avi Kivity wrote: > +system_io = qemu_malloc(sizeof(*system_io)); > +memory_region_init(system_memory, "io", 65536); > +set_system_io_map(system_io); Cut-paste error on that second line. Well spotted; the

Re: [Qemu-devel] [PATCH 09/39] Integrate I/O memory regions into qemu

2011-07-31 Thread Richard Henderson
On 07/31/2011 10:57 AM, Avi Kivity wrote: > +system_io = qemu_malloc(sizeof(*system_io)); > +memory_region_init(system_memory, "io", 65536); > +set_system_io_map(system_io); Cut-paste error on that second line. r~

[Qemu-devel] [PATCH 09/39] Integrate I/O memory regions into qemu

2011-07-31 Thread Avi Kivity
get_system_io() returns the root I/O memory region. Signed-off-by: Avi Kivity --- exec-memory.h |2 ++ exec.c| 10 ++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/exec-memory.h b/exec-memory.h index c439aba..999fd69 100644 --- a/exec-memory.h +++ b/exec-m