Re: [PATCH 10/10] virDomainDriverAutoShutdown: Refactor selection logic for VMs

2025-07-07 Thread Peter Krempa via Devel
On Thu, Jul 03, 2025 at 14:50:33 +0200, Peter Krempa via Devel wrote: > From: Peter Krempa > > Decide separately and record what shutdown modes are to be applied on > given VM object rather than spreading out the logic through the code. > > This centralization simplifies the conditions in the wo

Re: [PATCH 10/10] virDomainDriverAutoShutdown: Refactor selection logic for VMs

2025-07-04 Thread Peter Krempa via Devel
On Fri, Jul 04, 2025 at 15:05:10 +0200, Pavel Hrdina wrote: > On Thu, Jul 03, 2025 at 02:50:33PM +0200, Peter Krempa via Devel wrote: > > From: Peter Krempa > > > > Decide separately and record what shutdown modes are to be applied on > > given VM object rather than spreading out the logic throug

Re: [PATCH 10/10] virDomainDriverAutoShutdown: Refactor selection logic for VMs

2025-07-04 Thread Pavel Hrdina via Devel
On Thu, Jul 03, 2025 at 02:50:33PM +0200, Peter Krempa via Devel wrote: > From: Peter Krempa > > Decide separately and record what shutdown modes are to be applied on > given VM object rather than spreading out the logic through the code. > > This centralization simplifies the conditions in the

[PATCH 10/10] virDomainDriverAutoShutdown: Refactor selection logic for VMs

2025-07-03 Thread Peter Krempa via Devel
From: Peter Krempa Decide separately and record what shutdown modes are to be applied on given VM object rather than spreading out the logic through the code. This centralization simplifies the conditions in the worker functions and also: - provides easy way to check if the auto-shutdown code w