Re: [PATCH v3 4/5] hw/char: riscv_htif: replace exit calls with proper shutdown

2023-10-08 Thread Alistair Francis
On Mon, Oct 2, 2023 at 7:32 PM Clément Chigot wrote: > > On Fri, Sep 22, 2023 at 7:20 AM Alistair Francis wrote: > > > > On Thu, Sep 7, 2023 at 9:26 PM Clément Chigot wrote: > > > > > > This replaces the exit calls by shutdown requests, ensuring a proper > > > cleanup of Qemu. Otherwise, some

Re: [PATCH v3 4/5] hw/char: riscv_htif: replace exit calls with proper shutdown

2023-10-02 Thread Clément Chigot
On Fri, Sep 22, 2023 at 7:20 AM Alistair Francis wrote: > > On Thu, Sep 7, 2023 at 9:26 PM Clément Chigot wrote: > > > > This replaces the exit calls by shutdown requests, ensuring a proper > > cleanup of Qemu. Otherwise, some connections like gdb could be broken > > before its final packet

Re: [PATCH v3 4/5] hw/char: riscv_htif: replace exit calls with proper shutdown

2023-09-21 Thread Alistair Francis
On Thu, Sep 7, 2023 at 9:26 PM Clément Chigot wrote: > > This replaces the exit calls by shutdown requests, ensuring a proper > cleanup of Qemu. Otherwise, some connections like gdb could be broken > before its final packet ("Wxx") is being sent. This part, being done > inside qemu_cleanup

Re: [PATCH v3 4/5] hw/char: riscv_htif: replace exit calls with proper shutdown

2023-09-17 Thread Alistair Francis
On Thu, Sep 7, 2023 at 9:26 PM Clément Chigot wrote: > > This replaces the exit calls by shutdown requests, ensuring a proper > cleanup of Qemu. Otherwise, some connections like gdb could be broken > before its final packet ("Wxx") is being sent. This part, being done > inside qemu_cleanup

[PATCH v3 4/5] hw/char: riscv_htif: replace exit calls with proper shutdown

2023-09-07 Thread Clément Chigot
This replaces the exit calls by shutdown requests, ensuring a proper cleanup of Qemu. Otherwise, some connections like gdb could be broken before its final packet ("Wxx") is being sent. This part, being done inside qemu_cleanup function, can be reached only when the main loop exits after a