Hi,
I'm working with Jailhouse for linux version 4.4 on Nvidia TX2. I have
currently 5 cells that communicate with each other.
In order to communicate with linux root, I implemented 5 vPCI devices in
the linux-root. After some researches I found that a cell cannot have more
than 4 IRQs, so I'm trying to implement msi-x.
Currently, I have *ENOSPC *error during the *msix enabling function*.
With *sudo lspci -v* command , I can see that a memory space is allocated
for the MSI-X.
*00:04.0 Unassigned class [ff00]: Red Hat, Inc. Inter-VM shared memory*
* Subsystem: Red Hat, Inc. Inter-VM shared memory*
* Flags: fast devsel*
* Memory at 40104000 (64-bit, non-prefetchable) [size=4K]*
* Memory at 40105000 (64-bit, non-prefetchable) [size=256]*
* Capabilities: [50] MSI-X: Enable- Count=1 Masked-*
* Kernel driver in use: uio_ivshmem*
I set up the linux root cell like this :
* .type = JAILHOUSE_PCI_TYPE_IVSHMEM,*
* .bdf = 0x4 << 3,*
* .bar_mask = {*
* 0xfffff000, *
* 0xffffffff, *
* 0x00000000, *
* 0x00000000,*
* 0xffffff00, *
* 0xffffffff, *
* },*
* .num_msix_vectors = 1, *
* .shmem_region = 68, *
* .iommu = 1,*
* .shmem_protocol = JAILHOUSE_SHMEM_PROTO_UNDEFINED,*
* .domain = 0x0,*
* },*
*Do you have any suggestions on the problem encountered ?*
*It seems that MSI-X are different for virtual devices is that right ?*
*Thanks,*
Yohenn
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/6d11e4f6-9619-4f1f-8fff-ac5c8409ea70n%40googlegroups.com.