qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC v4 30/58] exec.c: fix initialization of system I/O mem


From: Avi Kivity
Subject: [Qemu-devel] [RFC v4 30/58] exec.c: fix initialization of system I/O memory region
Date: Sun, 17 Jul 2011 14:13:57 +0300

Signed-off-by: Avi Kivity <address@hidden>
---
 exec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exec.c b/exec.c
index defd9e3..e95c183 100644
--- a/exec.c
+++ b/exec.c
@@ -3820,7 +3820,7 @@ static void memory_map_init(void)
     set_system_memory_map(system_memory);
 
     system_io = qemu_malloc(sizeof(*system_io));
-    memory_region_init(system_memory, "io", 65536);
+    memory_region_init(system_io, "io", 65536);
     set_system_io_map(system_io);
 }
 
-- 
1.7.5.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]