Kamble, Nitin A
2006-Mar-20 18:58 UTC
[Xen-devel] [PATCH] paging disabled handling for gdbserver-xen
Hi Keir, Ian, The current ptrace code is traversing the page table structures to guest guest physical address, even when the guest paging is disabled. The gdbserver-xen tries to access guest pdes & ptes to map memory of hvm guest being debugged; and it gets a seg-fault because guest has not setup it''s paging yet. The attached patch adds guest paging state check, so that the map_domain_va() can get the correct guest physical address from guest va. Please apply. Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> xc_ptrace.c | 58 +++++++++++++++++++++++++++++++--------------------------- 1 files changed, 31 insertions(+), 27 deletions(-) Thanks & Regards, Nitin ------------------------------------------------------------------------ ----------- Open Source Technology Center, Intel Corp _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel