projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c54779f
)
loader: Abstract away ref to memory region names
author
Peter Crosthwaite
<peter.crosthwaite@xilinx.com>
Fri, 15 Aug 2014 06:53:55 +0000
(23:53 -0700)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 18 Aug 2014 10:06:21 +0000
(12:06 +0200)
Use the function provided rather than spying on the struct.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/loader.c
patch
|
blob
|
history
diff --git
a/hw/core/loader.c
b/hw/core/loader.c
index 2bf6b8ff856022b2017cc75d79329b864faa21a0..1a53f0fd905d5d581c9d06ace6e1c469d12ab477 100644
(file)
--- a/
hw/core/loader.c
+++ b/
hw/core/loader.c
@@
-955,7
+955,7
@@
void do_info_roms(Monitor *mon, const QDict *qdict)
if (rom->mr) {
monitor_printf(mon, "%s"
" size=0x%06zx name=\"%s\"\n",
-
rom->mr->name
,
+
memory_region_name(rom->mr)
,
rom->romsize,
rom->name);
} else if (!rom->fw_file) {