> On Jul 26, 2021, at 11:05 AM, John Levon wrote:
>
> On Mon, Jul 19, 2021 at 04:00:06PM -0400, Jagannathan Raman wrote:
>
>> +vfu_pci_set_id(o->vfu_ctx,
>> + pci_get_word(o->pci_dev->config + PCI_VENDOR_ID),
>> + pci_get_word(o->pci_dev->config + PCI_DE
On Mon, Jul 19, 2021 at 04:00:06PM -0400, Jagannathan Raman wrote:
> +vfu_pci_set_id(o->vfu_ctx,
> + pci_get_word(o->pci_dev->config + PCI_VENDOR_ID),
> + pci_get_word(o->pci_dev->config + PCI_DEVICE_ID),
> + pci_get_word(o->pci_dev->config
Find the PCI device with specified id. Initialize the device context
with the QEMU PCI device
Signed-off-by: Elena Ufimtseva
Signed-off-by: John G Johnson
Signed-off-by: Jagannathan Raman
---
hw/remote/vfio-user-obj.c | 28
1 file changed, 28 insertions(+)
diff --