On Thu, Sep 25, 2025 at 20:07:16 +0200, Andrea Bolognani via Devel wrote:
> Switch from the current approach, in which an initial and
> likely poor default is picked and then a better one later
> overwrites it, to the more common and easy to reason about
> pattern where the value is returned directly as soon as
> possible.
> 
> To make things easier to understand and more maintainable,
> the various architectures for which we have explicit
> handling are each taken care of separately, with no falling
> through to the default behavior.
> 
> Signed-off-by: Andrea Bolognani <[email protected]>
> ---
>  src/qemu/qemu_domain.c | 108 +++++++++++++++++++++++------------------
>  1 file changed, 62 insertions(+), 46 deletions(-)

Reviewed-by: Peter Krempa <[email protected]>

Reply via email to