Hi Henning, On 11/06/2018 10:14 AM, Henning Schild wrote: > Am Mon, 5 Nov 2018 17:32:40 +0100 > schrieb Andreas Messerschmid <andreas.messersch...@linutronix.de>: > >> Hi, >> >> I'm trying to bring úp an ivshmem-net based inter-cell-communication >> on an Intel-Atom E3950 hardware running Jailhouse but I can't >> discover any ivshmem-net virtual PCI devices in the RootCell. The >> Hypervisor and Linux inmate are up and running fine and I can see the >> ivshmem-net virtual PCI device in the inmate including the >> appropriate network interface. >> >> The hypervisor console states the following: >> Reserving 5 interrupt(s) for device 0100 at index 136 >> Adding PCI device 02:00.0 to cell "RootCell" >> Reserving 5 interrupt(s) for device 0200 at index 141 >> Adding virtual PCI device 00:0a.0 to cell "RootCell" >> Page pool usage after late setup: mem 393/15822, remap 65547/131072 >> Activating hypervisor >> Removing PCI device 01:00.0 from cell "RootCell" >> Freeing 5 interrupt(s) for device 0100 at index 136 >> Adding PCI device 01:00.0 to cell "inmate1" >> Reserving 5 interrupt(s) for device 0100 at index 136 >> Adding virtual PCI device 00:0a.0 to cell "inmate1" >> Shared memory connection established: "inmate1" <--> "RootCell" >> Created cell "inmate1" > > All this looks fine to me, the two devices get added and the link gets > established. > >> But the virtual PCI device 00:0a.0 is not discoverable in the >> RootCell. > > I guess the interface does not appear, which could also be the driver > not liking the device. What do lspci or browsing in /sys/bus/pci say?
neither lspci nor /sys/bus/pci/devices in the RootCell show the '00:0a.0' device. Andreas >> My RootCell ivshmem config looks like this: >> { /* IVSHMEM (networking rootcell <-> inmate1) */ >> .type = JAILHOUSE_PCI_TYPE_IVSHMEM, >> .iommu = 1, >> .domain = 0x0000, >> .bdf = 0x0a << 3, >> .bar_mask = { >> 0xffffff00, 0xffffffff, 0x00000000, >> 0x00000000, 0xffffffe0, 0xffffffff, >> }, >> .num_msix_vectors = 1, >> .shmem_region = 40, >> .shmem_protocol = JAILHOUSE_SHMEM_PROTO_VETH, >> }, >> >> RootCell kernel config ist attached. >> >> Did anybody face such an issue before? Any hints? >> >> Best regards >> Andreas >> > -- 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.