Re: [PATCH v2 1/2] xl: Keep monitoring suspended domain

2024-12-02 Thread Jason Andryuk
On 2024-12-02 03:53, Jan Beulich wrote: On 28.11.2024 17:45, Anthony PERARD wrote: On Tue, Nov 26, 2024 at 12:19:40PM -0500, Jason Andryuk wrote: When a VM transitioned to LIBXL_SHUTDOWN_REASON_SUSPEND, the xl daemon was exiting as 0 = DOMAIN_RESTART_NONE "No domain restart". Later, when the VM

Re: [PATCH v2 1/2] xl: Keep monitoring suspended domain

2024-12-02 Thread Jan Beulich
On 28.11.2024 17:45, Anthony PERARD wrote: > On Tue, Nov 26, 2024 at 12:19:40PM -0500, Jason Andryuk wrote: >> When a VM transitioned to LIBXL_SHUTDOWN_REASON_SUSPEND, the xl daemon >> was exiting as 0 = DOMAIN_RESTART_NONE "No domain restart". >> Later, when the VM actually shutdown, the missing x

Re: [PATCH v2 1/2] xl: Keep monitoring suspended domain

2024-11-28 Thread Anthony PERARD
On Tue, Nov 26, 2024 at 12:19:40PM -0500, Jason Andryuk wrote: > When a VM transitioned to LIBXL_SHUTDOWN_REASON_SUSPEND, the xl daemon > was exiting as 0 = DOMAIN_RESTART_NONE "No domain restart". > Later, when the VM actually shutdown, the missing xl daemon meant the > domain wasn't cleaned up pr

[PATCH v2 1/2] xl: Keep monitoring suspended domain

2024-11-26 Thread Jason Andryuk
When a VM transitioned to LIBXL_SHUTDOWN_REASON_SUSPEND, the xl daemon was exiting as 0 = DOMAIN_RESTART_NONE "No domain restart". Later, when the VM actually shutdown, the missing xl daemon meant the domain wasn't cleaned up properly. Add a new DOMAIN_RESTART_SUSPENDED to handle the case. The xl