mbox series

[0/3] vl.c: select_machine(): improve error message

Message ID 20240626134305.432627-1-vsementsov@yandex-team.ru (mailing list archive)
Headers show
Series vl.c: select_machine(): improve error message | expand

Message

Vladimir Sementsov-Ogievskiy June 26, 2024, 1:43 p.m. UTC
Hi all!

Here are three simple patches, improving select_machine() function a
bit.

Vladimir Sementsov-Ogievskiy (3):
  vl.c: select_machine(): use ERRP_GUARD instead of error propagation
  vl.c: select_machine(): use g_autoptr
  vl.c: select_machine(): add selected machine type to error message

 system/vl.c | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Comments

Philippe Mathieu-Daudé June 26, 2024, 5:07 p.m. UTC | #1
On 26/6/24 15:43, Vladimir Sementsov-Ogievskiy wrote:

> Vladimir Sementsov-Ogievskiy (3):
>    vl.c: select_machine(): use ERRP_GUARD instead of error propagation
>    vl.c: select_machine(): use g_autoptr
>    vl.c: select_machine(): add selected machine type to error message

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Michael Tokarev June 27, 2024, 3:21 p.m. UTC | #2
26.06.2024 16:43, Vladimir Sementsov-Ogievskiy wrote:
> Hi all!
> 
> Here are three simple patches, improving select_machine() function a
> bit.

Applied to trivial-patches, thank you!

/mjt