]> git.proxmox.com Git - mirror_qemu.git/commit - softmmu/memory.c
memory: tune mtree_print_mr() to dump mr type
authorPeter Xu <peterx@redhat.com>
Mon, 16 Jan 2017 08:40:04 +0000 (16:40 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Jan 2017 17:07:31 +0000 (18:07 +0100)
commit4e831901465906de226b2f9f39a39db07d7a67b6
treebc1970a4863da36683f568f4062083c0566ae732
parent07bfa354772f2de67008dc66c201b627acff0106
memory: tune mtree_print_mr() to dump mr type

We were dumping RW bits for each memory region, that might be confusing.
It'll make more sense to dump the memory region type directly rather
than the RW bits since that's how the bits are derived.

Meanwhile, with some slight cleanup in the function.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <1484556005-29701-2-git-send-email-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory.c