Re: [PATCH v8 09/20] multi-process: Associate fd of a PCIDevice with its object

2020-08-07 Thread Stefan Hajnoczi
On Fri, Jul 31, 2020 at 02:20:16PM -0400, Jagannathan Raman wrote: > +static void remote_object_set_devid(Object *obj, const char *str, Error > **errp) > +{ > +RemoteObject *o = REMOTE_OBJECT(obj); > + > +o->devid = g_strdup(str); Setter functions can be called multiple times so g_free(o-

[PATCH v8 09/20] multi-process: Associate fd of a PCIDevice with its object

2020-07-31 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 --- MAINTAINERS | 2 + hw/i386/Makefile.objs| 1 + hw/i386/remote-obj.c |