WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] RE: GPL Win PV driver issues

To: "Luciano Rocha" <strange@xxxxxxxxxxxxx>, "Steve Ofsthun" <sofsthun@xxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] RE: GPL Win PV driver issues
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sat, 15 Dec 2007 09:17:40 +1100
Cc: Andy Grover <andy.grover@xxxxxxxxxx>, cgriffin@xxxxxxxxxx, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 14 Dec 2007 14:18:17 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071214193659.GE28463@xxxxxxxxxxxxxxxxxxxxxx>
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>
References: <1197579906.25317.21.camel@xxxxxxxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0131A4CB@trantor> <4762D7C5.70504@xxxxxxxxxxxxxxx> <20071214193659.GE28463@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acg+iOXRXbNLRYE7Q12vxmJc2Fq+6AAFe+og
Thread-topic: [Xen-devel] RE: GPL Win PV driver issues
> 
> I've been thinking about this. Isn't it possible to allow both QEMU
and
> PV devices to exist, and create a combined HW/PV driver? I.e., a
driver
> for both the emulated device under Windows (as a later version than
the
> one shipped in Windows). Then, if really running under Xen, the driver
> instructs dom0 to optionally terminate the QEMU server side and use
the
> PV approach for communication.
> 
> As the emulated devices are well understood (and there's QEMU's
source),
> would this be hard to do?
> 

The way I've implemented the driver for the Xen PCI device is that it
becomes a bus driver and enumerates the things under 'devices' in
xenstore (eg vbd, vif, console) and then drivers attach to those.

For your idea to work, a single driver would need to attach to both the
emulated PCI disk/network adapter, and the Xen PV device. I don't think
this is possibly under the windows driver model.

But I've only been writing windows drivers for a few months now, so
there's probably a lot of stuff I don't know :)

James

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>