qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH for 2.1 14/14] memory: do not give a name to the int


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH for 2.1 14/14] memory: do not give a name to the internal exec.c regions
Date: Wed, 25 Jun 2014 14:25:58 +0200

There is no need to have them visible under /machine.

Signed-off-by: Paolo Bonzini <address@hidden>
---
 exec.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/exec.c b/exec.c
index 6e2c4f0..ef57519 100644
--- a/exec.c
+++ b/exec.c
@@ -1794,13 +1794,13 @@ MemoryRegion *iotlb_to_region(AddressSpace *as, hwaddr 
index)
 
 static void io_mem_init(void)
 {
-    memory_region_init_io(&io_mem_rom, NULL, &unassigned_mem_ops, NULL, "rom", 
UINT64_MAX);
+    memory_region_init_io(&io_mem_rom, NULL, &unassigned_mem_ops, NULL, NULL, 
UINT64_MAX);
     memory_region_init_io(&io_mem_unassigned, NULL, &unassigned_mem_ops, NULL,
-                          "unassigned", UINT64_MAX);
+                          NULL, UINT64_MAX);
     memory_region_init_io(&io_mem_notdirty, NULL, &notdirty_mem_ops, NULL,
-                          "notdirty", UINT64_MAX);
+                          NULL, UINT64_MAX);
     memory_region_init_io(&io_mem_watch, NULL, &watch_mem_ops, NULL,
-                          "watch", UINT64_MAX);
+                          NULL, UINT64_MAX);
 }
 
 static void mem_begin(MemoryListener *listener)
-- 
1.8.3.1




reply via email to

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