[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] What modifications are required for my device driver to work with xen.


  • To: "Sweekar Pinto" <sweekarpinto@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Fri, 18 Aug 2006 11:59:45 +0200
  • Delivery-date: Fri, 18 Aug 2006 03:39:09 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcbClPthpER9x9ZoQtu8HYHelstp4wAF4emg
  • Thread-topic: [Xen-users] What modifications are required for my device driver to work with xen.

First of all, I would think that software raid only makes sense when it's implemented directly to the hardware level - what I mean is that the Guest shouldn't really have to worry about how the data is stored, if it's RAIDed, mirrored, COW'ed or some other technology. [Just like applications on a non-virtual system is completely unaware of those details].
 
This in turn means that I think as long as your driver works in Dom0 (or DomU when you assign DomU the hardware to support the disk itself) it should be fine. If your driver follows standard working practices for drivers, it should be just a case of compiling it to make this work.
 
I do agree with your understanding of backend/frontend drivers, but I very much doubt that it would make any sense to implement your driver with that sort of setup...
 
--
Mats


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Sweekar Pinto
Sent: 18 August 2006 08:02
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] What modifications are required for my device driver to work with xen.

Hi,
Firstly, I apologise for the naivity of my quiestion.
I'm still unclear about the split-driver architecture of xen.
I'm developing a software raid driver, and would like to know the changes required for it to work with xen. (guest).
As I have understood, the Native driver remains unchanged in Dom0. This driver communicates talks with the backend driver and the hardware(or is this the backend driver itself?)
The frontend driver (from the unprivilaged domain) talks to the backend driver to access hardware.
Is my understanding of the concept correct? if yes, then how do I go about writing the frontend driver? if I'm wrong (which is very highly possible :P), please enlighten me :)
Thanks in Advance,
Sweekar.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.