Hello All, I want to know how to debug XEN Hypervisor itself, I am trying a new scheduler. Is there any tutorial available which I can look into. Thanks Pankaj Parakh _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hello All, I want to know which debugger I can use to debug Hypervisor, I am trying to try a scheduler in XEN. Where can I find tutorial/doc to use any debugger. -- Pankaj Parakh _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hello Pankaj, There are 2 debuggers available on Xen, gdb and kdb. Both need 2 computers with serial port connection between them. Gdb - rich commands http://lists.xensource.com/archives/html/xen-devel/2004-07/msg00338.html http://lists.xensource.com/archives/html/xen-devel/2009-01/msg00885.html http://lists.xensource.com/archives/html/xen-devel/2007-12/msg00678.html http://www.filewatcher.com/p/xen_2.0.6.orig.tar.gz.2456215/xen-2.0/docs/misc /XenDebugger-HOWTO.html http://lists.xensource.com/archives/html/xen-devel/2009-08/msg00325.html Kdb - simple http://www.xen.org/files/xensummitboston08/Mukesh%20xendbg-present.pdf -caz _____ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Pankaj Parakh Sent: Wednesday, September 23, 2009 6:26 PM To: Xen-devel@lists.xensource.com Subject: [Xen-devel] Debugging XEN Hypervisor Hello All, I want to know which debugger I can use to debug Hypervisor, I am trying to try a scheduler in XEN. Where can I find tutorial/doc to use any debugger. -- Pankaj Parakh _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Thu, 24 Sep 2009 06:56:29 +0530 Pankaj Parakh <me.pankajparakh@gmail.com> wrote:> Hello All, > > I want to know which debugger I can use to debug Hypervisor, I am > trying to try a scheduler in XEN. Where can I find tutorial/doc to > use any debugger. >To debug hypervisor/dom0, you could use kdb. See : http://xenbits.xensource.com/ext/debuggers.hg I refreshed it few weeks ago. You could always refresh to latest by just applying the diff between current kdb vesion and lastest c/s in unstable. Start with kdb/README. You''d need to setup serial console. It will let you set breakpoints, single step, look at virtual/machine memory, set watchpoint, do p2m and m2p translations, look at page structs, domain structs, vcpu structs, VMCB/VMCS, etc.... I''m always adding new features/commands to it. BTW, if anyone wants to debug guest VM, then gdbsx can be used. Same tree. I should be submitting patch soon. thanks Mukesh _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel