From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: console driver - How domain0 processes console messages ? Date: Wed, 16 Feb 2005 19:26:24 -0600 Message-ID: <4213F2C0.5000706@codemonkey.ws> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Richard Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org >> Next, I am going to look at tools/python/xen/lowlevel/xu/xu.c to see >>if domain0 is receiving the actual data being sent from mini-os >>console driver. >> >> > >Sounds like a plan. I'd thing that you should be able to pull most of >the control ring interaction code straight out of the console driver. > > With xcs you can run a utility called xcsdump which will show you most of the control traffic going on in your system. The easiest thing to do though would probably be to launch vm-create (part of vm-tools) with the -i option (interactive) and just step through it with gdb. The message flow isn't terribly obvious just by looking at the code however it should be quite understandable in gdb. Let me know when you get to implementing support for virtual devices (if you do). I've got all sorts of xcs/xu debugging stuff that I'm going to eventually clean-up and submit. They're pretty granular for most of the important messages (dumping out every field in all the messages). Good luck :-) Regards, >good luck! >a. > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/xen-devel > > > -- Anthony Liguori anthony@codemonkey.ws ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click