Re: [PATCH v8 17/20] multi-process: heartbeat messages to remote

2020-08-19 Thread Stefan Hajnoczi
On Fri, Aug 14, 2020 at 04:01:47PM -0700, Elena Ufimtseva wrote: > On Tue, Aug 11, 2020 at 03:41:30PM +0100, Stefan Hajnoczi wrote: > > On Fri, Jul 31, 2020 at 02:20:24PM -0400, Jagannathan Raman wrote: > > > @@ -343,3 +349,49 @@ static void probe_pci_info(PCIDevice *dev, Error > > > **errp) > > >

Re: [PATCH v8 17/20] multi-process: heartbeat messages to remote

2020-08-15 Thread Elena Ufimtseva
On Tue, Aug 11, 2020 at 03:41:30PM +0100, Stefan Hajnoczi wrote: > On Fri, Jul 31, 2020 at 02:20:24PM -0400, Jagannathan Raman wrote: > > @@ -343,3 +349,49 @@ static void probe_pci_info(PCIDevice *dev, Error > > **errp) > > } > > } > > } > > + > > +static void hb_msg(PCIProxyDev *de

Re: [PATCH v8 17/20] multi-process: heartbeat messages to remote

2020-08-11 Thread Stefan Hajnoczi
On Fri, Jul 31, 2020 at 02:20:24PM -0400, Jagannathan Raman wrote: > @@ -343,3 +349,49 @@ static void probe_pci_info(PCIDevice *dev, Error **errp) > } > } > } > + > +static void hb_msg(PCIProxyDev *dev) > +{ > +DeviceState *ds = DEVICE(dev); > +Error *local_err = NULL; > +

[PATCH v8 17/20] multi-process: heartbeat messages to remote

2020-07-31 Thread Jagannathan Raman
From: Elena Ufimtseva In order to detect remote processes which are hung, the proxy periodically sends heartbeat messages to confirm if the remote process is alive. The remote process responds to this heartbeat message to confirm it is alive. Signed-off-by: Jagannathan Raman Signed-off-by: John