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

Re: [Xen-users] How to assign specific HW to each OS working with Xen over Zynq MPSoC platform



On Tue, 2017-06-20 at 10:44 +0200, Pello Heriz wrote:
> Hi all,
> 
Hi,

> I'm very interested in knowing how to assign specific HW to each one
> of the running OS-s if I'm working with Xen hypervisor. Is it
> possible? Where do I need to specify this?
> 
This is called "PCI passthrough", or "device assignment". I suggest
looking for information using these keywords.

A starting point could be these links:
https://wiki.xen.org/wiki/Xen_PCI_Passthrough
https://wiki.xenproject.org/wiki/Xen_USB_Passthrough

It needs to be setup in the virtual machine config file(s), or it can
be done while the VM itself is running, with the "attach" family of xl
commands.

> On the other hand, I also would like to know, how would the different
> OS-s running under Xen hypervisor communicate between them. I.e.: an
> application running over Linux (i.e.: Docker) and FreeRTOS.
> 
Would "via networking" be an answer you'd be happy of? If not, well,
there are other mechanism, but you need to be more specific about what
kind of "communication" you have in mind.

> Finally, it would be interesting for me too, to know how to debug the
> behavior of an OS running under Xen (i.e.: FreeRTOS) in the real Zynq
> MPSoC board (ZCU102).
> 
Serial console is what is used by most developers. On (ARM) dev board,
there may be other mechanisms (debug ports, etc), but I've never done
any ARM development, so I don't know the details, nor what's really
supported.

https://wiki.xenproject.org/wiki/Xen_Serial_Console

Finally, since you're mentioning FreeRTOS, have a look at these links
(in case you did not know them already):
https://www.xenproject.org/directory/directory/projects/240-GaloisInc-FreeRTOS-Xen.html
http://galois.com/blog/2015/02/freertos-xen/
http://galois.com/blog/2016/07/update-freertos-xen-arm-systems/
https://github.com/GaloisInc/FreeRTOS-Xen

Regards,
Dario
-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

Attachment: signature.asc
Description: This is a digitally signed message part

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

 


Rackspace

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