On 24.05.19 11:04, Chung-Fan Yang wrote:
Hello,
I am looking for some help.
I am using ivshmem-v2 with virtio.
Do you mean the wip/ivshmem2 branch? Curious: What was the reason for choosing
this version?
JFYI: I've evolved that spec further, but the code still needs to be adjusted to
it (changes are significant). Goal is to have both the existing ivshmem use case
covered, while enabling the additional features that are present in current
ivshmem v2 draft.
I am planning to implement a virtual serial driver on top of it.
I ripped off the ivshmem-net driver, and obtain a queue which I should able to
communicate with other cells from host.
The problem is that during root cell's PCI probing, pci_alloc_irq_vectors
returned -NOSPCE.
I went down the rabbit hole with ftrace and found out that in the MSIX
initialization, irq_find_mapping returned -EEXIST.
I have cross check the code with ivshmem-net, there is no difference except for
the NAPI registration.
I am filling quite helpless down this rabbithole, and can really use some help.
I can provide the trace log and driver code if it is necessary.
Hard to give useful tips based on this information. Code and configurations, or
patches, are usually more telling.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
--
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/1b96aeba-e9bc-51c9-68e8-6fa4acee6504%40siemens.com.
For more options, visit https://groups.google.com/d/optout.