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-users

RE: [Xen-users] Linux-Windows data sharing in Xen

To: "ITZIAR BALENCIAGA" <ibalenciaga@xxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Linux-Windows data sharing in Xen
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Mon, 1 Jun 2009 22:08:09 +1000
Cc:
Delivery-date: Mon, 01 Jun 2009 05:09:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <918EB199DDDFFA42BEA2EB3A1C6021F302C4AA79@CORREO>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <918EB199DDDFFA42BEA2EB3A1C6021F302C4AA79@CORREO>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acnihnd2CnYqLmWbTTChmW2FDpcLXQAKv32Q
Thread-topic: [Xen-users] Linux-Windows data sharing in Xen
> 
> Now I'll try to explain my situation a little bit more. I use Xen
3.3.1 and
> have Ubuntu 8.10 as my dom0 and Windows XP as my domU. I have two
processes
> where one of them writes into a counter and the other one visualizes
its
> value. I've done it in windows with shared memory (using
CreateFileMapping)
> and now I'd like to move it to my new system. My intention is putting
the
> process that writes into the counter in Linux and the other one in
Windows. In
> the post I've previously mentioned he says that he does something
similar
> using the functions xc_domain_translate_gpfn_list and
xc_map_foreign_batch.
> I've tried to understand what these functions do but I had no success
and
> don't know how to use them. Does anybody know anything about these
functions?
> Has anybody done anything similar and can show me the code in order to
try to
> understand it better? If not, where could I find an example doing
something
> similar?
> 

How often are your counters being updated? If it's not too often then
xenstore could be used for this.

James

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

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