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

[Xen-devel] Mapping Data between Dom0 and DomU



Hello,

My name is Christian and I am new to Xen development, and I've been struggling 
a bit.  I'm trying to develop a device driver so that a Windows 2012 Server VM  
has a way to send about 10MB of data to a CentOS VM.  There is no real device 
on the backend, I just need a way to constantly send a large buffer between 
DomU and Dom0 using a zero copy solution.

I wrote a Linux device driver (simple char device) in Dom0 which allocates the 
memory and reserves the pages.  However, I'm not sure how to offer these pages 
to the Windows VM.  I also have a Windows device driver that I've installed in 
the Windows VM, but again I'm not sure how to connect the two drivers.

I've been browsing the QEMU source code, the Windows PV source code, the Xen 
source code, and the "Definitive Guide to the Xen Hypervisor" for answers.  
Unfortunately, I am a bit lost.  I'm hoping someone with some experience with 
shared data communication between Dom0 and DomU can point me at some source 
files to study in order to figure out how to implement what I'm trying to do.  
A tutorial, sample code, and/or general direction would be great.

Thanks for your help,
Christian


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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