Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

[Xen-devel] Looking for advice/help on debugging a module in a live kern

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Looking for advice/help on debugging a module in a live kernel
From: cm ko <cm83646@xxxxxxxxx>
Date: Sat, 27 Jan 2007 16:43:00 -0800 (PST)
Delivery-date: Sat, 27 Jan 2007 16:42:42 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=K3yYIXzU8TYd5ZbdDl0GdRSQFDoqDJSg1ll2CmMgRPaBqfBk1KY+dKjANOWmhYsTk84W6M7AIfeWLEwXd2IVm1oc6aUVGblboMh5xCdegIETBAdi3amVtCeFHTEQ8HgbxdJd5uteOrEykH/5LzamrNDgPBa1TPnIg8fupzDVHd8=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello all,
I am new to Xen and would appreciate any help I can get.  I am working on a block device driver and I would like to be able to symbolically debug the module. (via break points, etc.)

I am a little bit confused on a couple of things and hoping someone can help me out.

1) It appears that I have two choices - either paravirtualized or fully virtualized.  Do anyone have suggestions on how to determine which way to go?  At the moment, I am thinking using full virtualization and load my driver into the kernel running on the guest machine.  Am I off on this?

2) if I choose fully virtualized option, is it possible to attach debbuger on the live kernel running on the guest machine?  Does it mean that hvmloader has to be recompiled with -g option?

3) if I choose paravirtulaized kernel, which kernel should I install my module?  Kernel for Dom0 or DomU?
4) Where can I find the media for operating system for paravirtualized virtual system?

Thanks in advance for you help,

CM


It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>