> On Sep 8, 2021, at 8:43 AM, Stefan Hajnoczi wrote:
>
> On Fri, Aug 27, 2021 at 01:53:23PM -0400, Jagannathan Raman wrote:
>> @@ -96,6 +102,28 @@ static void vfu_object_machine_done(Notifier *notifier,
>> void *data)
>>strerror(errno));
>> return;
>> }
>> +
>>
On Fri, Aug 27, 2021 at 01:53:23PM -0400, Jagannathan Raman wrote:
> @@ -96,6 +102,28 @@ static void vfu_object_machine_done(Notifier *notifier,
> void *data)
> strerror(errno));
> return;
> }
> +
> +dev = qdev_find_recursive(sysbus_get_default(), o->devid);
>
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 --