Am Thu, 16 Aug 2018 09:25:38 -0700
schrieb Chung-Fan Yang <sonic.tw...@gmail.com>:

> Hello,
> 
> I would like some help. I am trying to accomplish a root <-> non-root
> cell communication. I followed README.jailhouse in
> https://github.com/henning-schild-work/ivshmem-guest-code to build to
> tools for the root side and fired the ivshmem-demo as the non-root
> cell.
> 
> I can see the interrupt of virtual pci interface is enumerated
> in /proc/interrupts 34:          0          0          0
> 0          0          0          0          0          0  IR-PCI-MSI
> 245760-edge      uio_ivshmem
> 
> 
> I am able to send interrupt from root cell to non-root cell. I can
> see responses from the debug console. Also, I can read the memory
> data in the root cell. But I am not able to receive the interrupts
> from non-root cell. using the uio_read tool, it will hang for ever,
> and the count in /proc/interrupts wouldn't increase.

You might have to set "iommu" of the virtual pci device to another
value. You can probably just try from 0 to n-1 where n is the number of
iommu_units in your root cell config.

Henning

> I am using the head of the jailhouse branch of ivshmem-guest-code.
> The kernel version is 4.13, and 4.9, both are not working.
> 
> Thank you,
> 
> Yang
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to