[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/15] vl: fix qemu_validate_options() indention
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 01/15] vl: fix qemu_validate_options() indention |
Date: |
Mon, 18 Nov 2024 13:46:28 +0100 |
From: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240905141211.1253307-2-kraxel@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
system/vl.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/system/vl.c b/system/vl.c
index d217b3d64d..3bb8f2db9a 100644
--- a/system/vl.c
+++ b/system/vl.c
@@ -2427,15 +2427,15 @@ static void qemu_validate_options(const QDict
*machine_opts)
const char *kernel_cmdline = qdict_get_try_str(machine_opts, "append");
if (kernel_filename == NULL) {
- if (kernel_cmdline != NULL) {
- error_report("-append only allowed with -kernel option");
- exit(1);
- }
+ if (kernel_cmdline != NULL) {
+ error_report("-append only allowed with -kernel option");
+ exit(1);
+ }
- if (initrd_filename != NULL) {
- error_report("-initrd only allowed with -kernel option");
- exit(1);
- }
+ if (initrd_filename != NULL) {
+ error_report("-initrd only allowed with -kernel option");
+ exit(1);
+ }
}
if (loadvm && incoming) {
--
2.45.2
- [PULL 00/15] Misc HW patches for 2024-11-18, Philippe Mathieu-Daudé, 2024/11/18
- [PULL 01/15] vl: fix qemu_validate_options() indention,
Philippe Mathieu-Daudé <=
- [PULL 02/15] hw/misc/nrf51_rng: Don't use BIT_MASK() when we mean BIT(), Philippe Mathieu-Daudé, 2024/11/18
- [PULL 03/15] hw/i386/elfboot: allocate "header" in heap, Philippe Mathieu-Daudé, 2024/11/18
- [PULL 04/15] hw/display: factor out the scanout blob to fb conversion, Philippe Mathieu-Daudé, 2024/11/18
- [PULL 05/15] hw/display: check frame buffer can hold blob, Philippe Mathieu-Daudé, 2024/11/18
- [PULL 06/15] MAINTAINERS: Update my email address for COLO, Philippe Mathieu-Daudé, 2024/11/18
- [PULL 07/15] usb-hub: Fix handling port power control messages, Philippe Mathieu-Daudé, 2024/11/18
- [PULL 08/15] tests/qtest/migration: Fix indentations, Philippe Mathieu-Daudé, 2024/11/18
- [PULL 09/15] hw/sd/sdhci: Fix coding style, Philippe Mathieu-Daudé, 2024/11/18
- [PULL 11/15] Revert "hw/audio/hda: fix memory leak on audio setup", Philippe Mathieu-Daudé, 2024/11/18
- [PULL 10/15] hw/misc/mos6522: Fix bad class definition of the MOS6522 device, Philippe Mathieu-Daudé, 2024/11/18