add info to p2m_pod_dump_data
PATCH 1/1 add info to p2m_pod_dump_data
just for debug.
'xl debug-key q' do not dump d->tot_pages,
so it hard to understand p2m_pod_set_mem_target.
--- xen/arch/x86/mm/p2m-pod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
xen/arch/x86/mm/p2m-pod.c +2 -2
@@ -660,8 +660,8 @@ void p2m_pod_dump_data(struct domain *d) {struct p2m_domain *p2m =p2m_get_hostp2m (d); -printk (" PoD entries=%ld cachesize=%ld\n" , - p2m->pod.entry_count, p2m->pod.count); +printk (" Total pages=%d PoD entries=%ld cachesize=%ld\n" , + d->tot_pages, p2m->pod.entry_count, p2m->pod.count); }
Signature · 9 lines
1.7.12.4 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Quoted 3 lines · zhangcy
just for debug.
'xl debug-key q' do not dumpd->tot_pages,
so it hard to understandp2m_pod_set_mem_target.
debug-key 'q' calls dump_domains, which prints d->tot_pages under the label "nr_pages".
I admit this isn't very clear -- what about s/nr_pages/tot_pages/ these instead?
-George
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 5 lines · zhangcy
just for debug.
'xl debug-key q' do not dumpd->tot_pages,
so it hard to understandp2m_pod_set_mem_target.Signed-off-by zhangcy <[email protected]>
Also, the SoB is a legal statement, so in future patches you should change "zhangcy" to something which resembles your actual name.
-George
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel