diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-09-27 15:00:31 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-10-02 16:27:14 +0200 |
commit | 4b474ba7a1a96aabcf3482eb5b23ad5361a38750 (patch) | |
tree | 62576377cce78c854405b01b27efc84983678399 | |
parent | 314e298735903035ba2b7b0f3cf39981f4171546 (diff) | |
download | qemu-4b474ba7a1a96aabcf3482eb5b23ad5361a38750.tar.gz qemu-4b474ba7a1a96aabcf3482eb5b23ad5361a38750.tar.bz2 qemu-4b474ba7a1a96aabcf3482eb5b23ad5361a38750.zip |
memory: Print region priority
Useful to discover eclipses.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r-- | memory.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1316,18 +1316,20 @@ static void mtree_print_mr(fprintf_function mon_printf, void *f, ml->printed = false; QTAILQ_INSERT_TAIL(print_queue, ml, queue); } - mon_printf(f, TARGET_FMT_plx "-" TARGET_FMT_plx " : alias %s @%s " + mon_printf(f, TARGET_FMT_plx "-" TARGET_FMT_plx " (prio %d): alias %s @%s " TARGET_FMT_plx "-" TARGET_FMT_plx "\n", base + mr->addr, base + mr->addr + (target_phys_addr_t)mr->size - 1, + mr->priority, mr->name, mr->alias->name, mr->alias_offset, mr->alias_offset + (target_phys_addr_t)mr->size - 1); } else { - mon_printf(f, TARGET_FMT_plx "-" TARGET_FMT_plx " : %s\n", + mon_printf(f, TARGET_FMT_plx "-" TARGET_FMT_plx " (prio %d): %s\n", base + mr->addr, base + mr->addr + (target_phys_addr_t)mr->size - 1, + mr->priority, mr->name); } QTAILQ_FOREACH(submr, &mr->subregions, subregions_link) { |