Re: [PATCH v2 3/3] gdbstub: replace exit(0) with proper shutdown

2023-09-07 Thread Clément Chigot
Hi Peter, On Mon, Sep 4, 2023 at 2:46 PM Clément Chigot wrote: > > On Mon, Sep 4, 2023 at 11:42 AM Peter Maydell > wrote: > > > > On Mon, 4 Sept 2023 at 10:36, Clément Chigot wrote: > > > > > > On Mon, Sep 4, 2023 at 11:23 AM Peter Maydell > > > wrote: > > > > > > > > On Wed, 23 Aug 2023 at

Re: [PATCH v2 3/3] gdbstub: replace exit(0) with proper shutdown

2023-09-04 Thread Clément Chigot
On Mon, Sep 4, 2023 at 11:42 AM Peter Maydell wrote: > > On Mon, 4 Sept 2023 at 10:36, Clément Chigot wrote: > > > > On Mon, Sep 4, 2023 at 11:23 AM Peter Maydell > > wrote: > > > > > > On Wed, 23 Aug 2023 at 08:07, Clément Chigot wrote: > > > > > > > > This replaces the exit(0) call by a shut

Re: [PATCH v2 3/3] gdbstub: replace exit(0) with proper shutdown

2023-09-04 Thread Peter Maydell
On Mon, 4 Sept 2023 at 10:36, Clément Chigot wrote: > > On Mon, Sep 4, 2023 at 11:23 AM Peter Maydell > wrote: > > > > On Wed, 23 Aug 2023 at 08:07, Clément Chigot wrote: > > > > > > This replaces the exit(0) call by a shutdown request, ensuring a proper > > > cleanup of Qemu. Otherwise, some c

Re: [PATCH v2 3/3] gdbstub: replace exit(0) with proper shutdown

2023-09-04 Thread Clément Chigot
On Mon, Sep 4, 2023 at 11:23 AM Peter Maydell wrote: > > On Wed, 23 Aug 2023 at 08:07, Clément Chigot wrote: > > > > This replaces the exit(0) call by a shutdown request, ensuring a proper > > cleanup of Qemu. Otherwise, some connections could be broken without > > being correctly flushed. > > >

Re: [PATCH v2 3/3] gdbstub: replace exit(0) with proper shutdown

2023-09-04 Thread Peter Maydell
On Wed, 23 Aug 2023 at 08:07, Clément Chigot wrote: > > This replaces the exit(0) call by a shutdown request, ensuring a proper > cleanup of Qemu. Otherwise, some connections could be broken without > being correctly flushed. > > Signed-off-by: Clément Chigot > --- > gdbstub/gdbstub.c | 3 +-- >

Re: [PATCH v2 3/3] gdbstub: replace exit(0) with proper shutdown

2023-09-03 Thread Alistair Francis
On Wed, Aug 23, 2023 at 5:08 PM Clément Chigot wrote: > > This replaces the exit(0) call by a shutdown request, ensuring a proper > cleanup of Qemu. Otherwise, some connections could be broken without > being correctly flushed. > > Signed-off-by: Clément Chigot Acked-by: Alistair Francis Alist

[PATCH v2 3/3] gdbstub: replace exit(0) with proper shutdown

2023-08-23 Thread Clément Chigot
This replaces the exit(0) call by a shutdown request, ensuring a proper cleanup of Qemu. Otherwise, some connections could be broken without being correctly flushed. Signed-off-by: Clément Chigot --- gdbstub/gdbstub.c | 3 +-- gdbstub/softmmu.c | 13 + gdbstub/user.c| 2 ++ 3 f