Commit 401cf7fd authored by Peter Crosthwaite's avatar Peter Crosthwaite Committed by Paolo Bonzini

loader: Abstract away ref to memory region names

Use the function provided rather than spying on the struct.
Signed-off-by: default avatarPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent c54779f9
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment