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

RE: [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


 


Rackspace

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