Xen Zynq Distribution Support Forums
DomU I/O and Communication - Printable Version

+- Xen Zynq Distribution Support Forums (http://xzdforums.dornerworks.com)
+-- Forum: General Xilinx Support (http://xzdforums.dornerworks.com/forumdisplay.php?fid=1)
+--- Forum: Public Support (http://xzdforums.dornerworks.com/forumdisplay.php?fid=6)
+--- Thread: DomU I/O and Communication (/showthread.php?tid=688)



DomU I/O and Communication - pello.heriz - 06-19-2017

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?

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.

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 MPSoC board.

Any answer would be helpful,

Thanks,
Pello


RE: DomU I/O and Communication - david_norwood - 06-22-2017

Hi Pello,

Not knowing the specifics behind which pieces of hardware you are considering, I would start by looking at the XZD manual in chapter 6, possibly section 6.4, and chapter 9. Communication between domains is typically done over a virtual network, xenbus/xenstore, libvchan, or a custom mechanism built on top of shared memory and/or event channels. See section 6.4 in our UM for an example using libvchan. http://dornerworks.com/wp-content/uploads/2017/01/Xen-Zynq-Distribution-XZD-Users-Manual.pdf

You can also check out our blog for a virtual console http://dornerworks.com/blog/virtual-console-xen

For debugging, you can consider using gdb, xentrace, and/or xenalyze. Xilinx also provides some information regarding debugging at https://www.xilinx.com/html_docs/xilinx2017_1/SDK_Doc/index.html?q=/html_docs/xilinx2017_1/SDK_Doc/SDK_tasks/sdk_enable_xen_aware_debug.html

Thanks for contributing to the XZD Forums. Don't forget to check us out at http://dornerworks.com/xen/xilinxxen for more information regarding XZD support.