From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Martin Subject: Re: paravirt driver development Date: Mon, 16 Dec 2013 08:08:50 -0300 Message-ID: <1763251018.20131216080850@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0301509334214542839==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Carl Patenaude Poulin Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============0301509334214542839== Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Re: [Xen-devel] paravirt driver development Hi Carl,

I've been doing the same thing for a month or so now. Here are a few refere= nces:

1.- There's a good book you can get: "The Definitive Guide to the Xen Hyper= visor" by David Chisnall. It's a bit dated but lots of good info. The real = problem with it is that the examples are 32 bit, whereas I need 64 bit. But= such is life.

2.- There is the mini-os in the Xen source. This is a little paravirtual gu= est. For my purposes (an embedded flat memory OS) this was overkill.

3.- The killer resource is this mail list. Lots of very helpful, very knowl= edgeable people.

Based on these three references (lots of number 3) I have written the start= ing point for a micro-pv. You can get this here
https://github.com/FurryFuttock/micro-pv . This creates a stub that is suf= ficient for Xen to recognize the executable as a guest. It gives you access= to the console. Currently I am implementing stack switching to enable simp= le preemptive multitasking. There is still a bit of cleanup required in som= e of the header files as I just copy pasted from mini-os without really wor= rying about or understanding what the macros and functions were doing. One = of these days I'll go back and clean up.

As always, all feedback is good!

Regards and good luck.




Sunday, December 15, 2013, 2:49:48 PM, you wrote:


Hi xen-deve= l,

I am currently developing an experimental operating system, and I would lik= e to target Xen paravirtualization as a first "hardware" target. I googled = a bit and I can't seem to find specifications or a manual for driver author= ship targeting paravirt. Is there such a resource? For now all I need to kn= ow is how to handle I/O done with a keyboard and console (TTY).

Best regards,

Carl Patenaude Poulin
McGill University




--
Best regards,
Simon                    = ;        
mailto:furryfuttock@gmail.com --===============0301509334214542839== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============0301509334214542839==--