Re: [PATCH RFC server v2 04/11] vfio-user: find and init PCI device

2021-09-10 Thread Jag Raman
> 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; >> } >> + >>

Re: [PATCH RFC server v2 04/11] vfio-user: find and init PCI device

2021-09-08 Thread Stefan Hajnoczi
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); >

[PATCH RFC server v2 04/11] vfio-user: find and init PCI device

2021-08-27 Thread Jagannathan Raman
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 --