All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] system/vl: Tidy up break in QEMU_OPTION_machine case
@ 2025-03-23 23:00 Philippe Mathieu-Daudé
  2025-03-24  0:28 ` BALATON Zoltan
  2025-03-24  9:09 ` Daniel P. Berrangé
  0 siblings, 2 replies; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-03-23 23:00 UTC (permalink / raw)
  To: qemu-devel
  Cc: Markus Armbruster, Paolo Bonzini, Pierrick Bouvier,
	Philippe Mathieu-Daudé

The break in the QEMU_OPTION_machine case is mis-placed.

Not a big deal, since producing the same outcome, but
suspicious, so put it in the correct place.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 system/vl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/system/vl.c b/system/vl.c
index ec93988a03a..dbca9ebba4d 100644
--- a/system/vl.c
+++ b/system/vl.c
@@ -3409,8 +3409,8 @@ void qemu_init(int argc, char **argv)
                         machine_help_func(machine_opts_dict);
                         exit(EXIT_SUCCESS);
                     }
-                    break;
                 }
+                break;
             case QEMU_OPTION_accel:
                 accel_opts = qemu_opts_parse_noisily(qemu_find_opts("accel"),
                                                      optarg, true);
-- 
2.47.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-03-24 16:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-23 23:00 [PATCH] system/vl: Tidy up break in QEMU_OPTION_machine case Philippe Mathieu-Daudé
2025-03-24  0:28 ` BALATON Zoltan
2025-03-24  9:09 ` Daniel P. Berrangé
2025-03-24 16:48   ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.