May I ask you some questions?
Is .pci_caps section needed on arm64 platform(rpi4b) to partition pci
devices into inmate?
How to write .pci_devices section for devices on arm64 platform?
What is needed and what is not needed ?
For example I want to partition PCI 01:00.0 into inmate, It is usb
controller.
How to write .pci_devices section in .c configuration file ?
/proc/iomem and lspci -vvv output is in attatch files.
Can you give some advices. I cann't find any demo for partitioning pci
on arm64.
I have sucessfully partition network card into inmate on NUC6CAY.
.pci_devices = {
{ /* IVSHMEM 00:01.0 (networking) */
.type = JAILHOUSE_PCI_TYPE_IVSHMEM,
.bdf = 1 << 3,
.bar_mask = JAILHOUSE_IVSHMEM_BAR_MASK_INTX,
.shmem_regions_start = 5,
.shmem_dev_id = 1,
.shmem_peers = 2,
.shmem_protocol = JAILHOUSE_SHMEM_PROTO_VETH,
},
/*pci USB 01:00.0*/
{
.type = JAILHOUSE_PCI_TYPE_DEVICE,
.iommu = 1,
.domain = 0,
.bdf = 1 << 8,
.bar_mask = {
0xfffff000, 0xffffffff, 0x00000000,
0x00000000, 0x00000000, 0x00000000,
},
},
},
--
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/d32f5f75-4790-423a-9b03-75b00fa48f6fn%40googlegroups.com.