Re: [PATCH v13 10/19] multi-process: Associate fd of a PCIDevice with its object

2020-12-16 Thread Jag Raman
> On Dec 16, 2020, at 12:34 PM, Marc-André Lureau > wrote: > > Hi > > On Wed, Dec 16, 2020 at 9:06 PM Jag Raman wrote: > > > > On Dec 16, 2020, at 8:43 AM, Marc-André Lureau > > wrote: > > > > > > > > On Mon, Dec 14, 2020 at 9:15 AM Jagannathan Raman > > wrote: > > Associate the fi

Re: [PATCH v13 10/19] multi-process: Associate fd of a PCIDevice with its object

2020-12-16 Thread Marc-André Lureau
Hi On Wed, Dec 16, 2020 at 9:06 PM Jag Raman wrote: > > > > On Dec 16, 2020, at 8:43 AM, Marc-André Lureau < > marcandre.lur...@gmail.com> wrote: > > > > > > > > On Mon, Dec 14, 2020 at 9:15 AM Jagannathan Raman > wrote: > > Associate the file descriptor for a PCIDevice in remote process with >

Re: [PATCH v13 10/19] multi-process: Associate fd of a PCIDevice with its object

2020-12-16 Thread Jag Raman
> On Dec 16, 2020, at 8:43 AM, Marc-André Lureau > wrote: > > > > On Mon, Dec 14, 2020 at 9:15 AM Jagannathan Raman > wrote: > Associate the file descriptor for a PCIDevice in remote process with > DeviceState object. > > Signed-off-by: Elena Ufimtseva > Signed-off-by: John G Johnson >

Re: [PATCH v13 10/19] multi-process: Associate fd of a PCIDevice with its object

2020-12-16 Thread Marc-André Lureau
On Mon, Dec 14, 2020 at 9:15 AM Jagannathan Raman wrote: > Associate the file descriptor for a PCIDevice in remote process with > DeviceState object. > > Signed-off-by: Elena Ufimtseva > Signed-off-by: John G Johnson > Signed-off-by: Jagannathan Raman > Reviewed-by: Stefan Hajnoczi > --- > h

Re: [PATCH v13 10/19] multi-process: Associate fd of a PCIDevice with its object

2020-12-15 Thread Stefan Hajnoczi
On Mon, Dec 14, 2020 at 12:14:50AM -0500, Jagannathan Raman wrote: > +static void remote_object_release(DeviceListener *listener, DeviceState *dev) > +{ > +RemoteObject *o = container_of(listener, RemoteObject, listener); > + > +if (o->dev == dev) { > +object_unref(OBJECT(o)); > +

[PATCH v13 10/19] multi-process: Associate fd of a PCIDevice with its object

2020-12-13 Thread Jagannathan Raman
Associate the file descriptor for a PCIDevice in remote process with DeviceState object. Signed-off-by: Elena Ufimtseva Signed-off-by: John G Johnson Signed-off-by: Jagannathan Raman Reviewed-by: Stefan Hajnoczi --- hw/remote/remote-obj.c | 206