Re: [PATCH v4 1/1] os-posix: asynchronous teardown for shutdown on Linux

2022-10-25 Thread Paolo Bonzini
On Tue, Oct 25, 2022 at 2:52 PM Daniel P. Berrangé wrote: > If doing it in libvirt the flow would be > > libvirtd -> fork -> fork -> execve(qemu) > \-> clone(async handler) > > In the latter case the async handler would be running code from > the libvirt binary. When the

Re: [PATCH v4 1/1] os-posix: asynchronous teardown for shutdown on Linux

2022-10-25 Thread Daniel P . Berrangé
On Tue, Oct 25, 2022 at 02:42:11PM +0200, Paolo Bonzini wrote: > On 8/12/22 15:34, Claudio Imbrenda wrote: > > This patch adds support for asynchronously tearing down a VM on Linux. > > > > When qemu terminates, either naturally or because of a fatal signal, > > the VM is torn down. If the VM is h

Re: [PATCH v4 1/1] os-posix: asynchronous teardown for shutdown on Linux

2022-10-25 Thread Paolo Bonzini
On 8/12/22 15:34, Claudio Imbrenda wrote: This patch adds support for asynchronously tearing down a VM on Linux. When qemu terminates, either naturally or because of a fatal signal, the VM is torn down. If the VM is huge, it can take a considerable amount of time for it to be cleaned up. In case

Re: [PATCH v4 1/1] os-posix: asynchronous teardown for shutdown on Linux

2022-08-23 Thread Daniel P . Berrangé
On Fri, Aug 12, 2022 at 03:34:53PM +0200, Claudio Imbrenda wrote: > This patch adds support for asynchronously tearing down a VM on Linux. > > When qemu terminates, either naturally or because of a fatal signal, > the VM is torn down. If the VM is huge, it can take a considerable > amount of time

[PATCH v4 1/1] os-posix: asynchronous teardown for shutdown on Linux

2022-08-12 Thread Claudio Imbrenda
This patch adds support for asynchronously tearing down a VM on Linux. When qemu terminates, either naturally or because of a fatal signal, the VM is torn down. If the VM is huge, it can take a considerable amount of time for it to be cleaned up. In case of a protected VM, it might take even longe