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

Re: [Xen-users] How to set up trivial shared-memory buffer between VMs (on ARM) ?


  • To: Ian Campbell <ian.campbell@xxxxxxxxxx>, "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: "Chris (Christopher) Brand" <chris.brand@xxxxxxxxxxxx>
  • Date: Tue, 6 Oct 2015 20:41:28 +0000
  • Accept-language: en-US
  • Delivery-date: Tue, 06 Oct 2015 20:42:35 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Thread-index: AdD8nrxuplKaif/dTs+urlPl/Irz/QAjEcwAAM45KrAABL+B8A==
  • Thread-topic: [Xen-users] How to set up trivial shared-memory buffer between VMs (on ARM) ?

> What I don't understand is how the virtual device gets created. When the
> drivers get installed, they register with xenbus, and then all the actual
> communication setup happens in the respective probe functions, but what
> triggers the kernel to call those probe functions ? I guess in the blk/net 
> case
> this ties in to the config file for the guest...?

Replying to myself :-)

Looks like this is done through xenstore, is that correct ?
So libxl writes to xenstore as part of the creation of the new guest, and that 
is triggered by the entries in the config file for the new guest. So how can I 
do this for my device ? I tried running xenstore-write (on Dom0) to create an 
appropriate node, but that didn't seem to have any effect (or maybe I'm doing 
something wrong...) I tried both before and after running xl create.

Chris

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


 


Rackspace

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