From patchwork Mon Nov 18 12:46:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 844080 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp594753wrx; Mon, 18 Nov 2024 04:47:26 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWKiGRT3E0EnWsz8wMd7ZQY/QKgo0Hc2YDhEw0tMCZz62MQs94I5xGCVuXAv3WQW5qU2NDkMQ==@linaro.org X-Google-Smtp-Source: AGHT+IH4fpGLJ31xcWgwPDdwtoQ1QviU8s8C0y056NrF709LX/EOdJV3R2BgNt/r8/62AgyF73El X-Received: by 2002:a05:6902:20c9:b0:e35:e0c4:a06b with SMTP id 3f1490d57ef6-e3826154fc1mr9681464276.25.1731934045785; Mon, 18 Nov 2024 04:47:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731934045; cv=none; d=google.com; s=arc-20240605; b=H+CKcHlewp7nV3l3r/UV+b+nlI0ZJ8yW3buMqZee/PM6fsu5Bo1hfGjiIOkxujlkyx i+krwjIGdCN85+jhStuXsV1R0xztDaU2RHFKausd/kmnTPnP/QBOgQcxEQ+JpRSH9y3c DHjP+9BuKM094cO+Qu9qH+0SwlhrhrxYi3LzCBSPYO9AIKBHHz3zxWU9KzPkgoSeKrVw VWD+oIGM+ab3f85p7iNHGz5voME/2B/xz64IbyBwXuDccoFKVCIM0Jkz4UHO7c0JMmR9 ouqVtXT+mF+HzbNvJoo7gWPZBXkfbohI8ZuSsxj3g+kyaIVWqpe5FVZV/yXIh0GpVVQs jQTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=T83eivt/vSoGlflCpjNelp/9rr9ILqKefhCT6i7Xuwg=; fh=9H/vzCbdZQrHTCz32qxUzDnCtcSUm7Jegh0ArlcduT8=; b=fSr/f99xs8Z8whcLmAX+xEHmdD0if53Z3wNuVSJR4QrBe3rcI/0yiO/SsqW3ZhY9Y0 XW5l6c134hoB16UzOjmF2gGzxWTgQqxvJqbhzsAaUcFhO1sopIBqrqRzVdhgEHSATkGU AA+6oM2dsmdA91cuU2dSqXaX3/CPpfPX5N0KbZLnph00Qj3go0a3f4ny/eg/5jO3RFf3 Qba+/avZ6NPwIppj0R6NMEf6Gv+4eSPTXX2k4c/RuxkUqbFdQWPYXPQxZvpkXmetznd1 ieO9qaaa9xuiP27oD35XpSNpY27qVbtPHvF0yxmg2k/+uoRaOitdhmZlyVxDCyzNvSgm MDwQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ZDe7FS/m"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b35cb06e40si1026564985a.697.2024.11.18.04.47.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Nov 2024 04:47:25 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ZDe7FS/m"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tD19f-0002xl-Sj; Mon, 18 Nov 2024 07:46:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD19a-0002wr-Mq for qemu-devel@nongnu.org; Mon, 18 Nov 2024 07:46:55 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tD19Z-0005N2-7P for qemu-devel@nongnu.org; Mon, 18 Nov 2024 07:46:54 -0500 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-38241435528so937771f8f.2 for ; Mon, 18 Nov 2024 04:46:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731934011; x=1732538811; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=T83eivt/vSoGlflCpjNelp/9rr9ILqKefhCT6i7Xuwg=; b=ZDe7FS/m7dVGLzDVi9InQBFshmcSamru3ErZviG0TX+0DWPpJxvu9MCHPq4+OcZm65 mBsZKm9T/5I1j0/9f9HKC+blNbWX4QfJa0dD3cLuts6l70PTtV2rurEZ7I8uyKws/QCm qTp4Gt+yCV3GOia42C//U6eqE5tDdnb8UxqOcdxBCt2mOcKhOSjcXI2OFzx4NNEotrK8 iwFdQ6U3u45MdB3LxnL7balTUy/gw5jgnE288uJHipy0iQpV+02pxxl517MNPblg+X8h yCtkQNEpxosrlk11CcC9f3Fdo2t5VmK5PVAlaGNzytfkW3KBzAReUZ1QZreyUBaonQ9w l4aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731934011; x=1732538811; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T83eivt/vSoGlflCpjNelp/9rr9ILqKefhCT6i7Xuwg=; b=lziW4dptPTUtOiZVFXJtD3Hw0XTWGzqWW5imPIvKWmJrLVEMZiLD1vHzevFu/E3Iu2 IBs1OZClP+r6XvoAlAX7InxQcR9rB1yCATYcc3e1T/O2QziKkmDMsBQB0KSYOyxDkGMc aBiev/hjZoiDYJaHMfsNgLI4w7fcny3mwiVlIdHGPJ9s+b4yzAcFdRWmSHTmGVr21bYi F4JGAI5xnQvYX3WQhO8vjs2vwrcOv5J65wCRxWAWf/tlSRml9AqJVD47d/DaWI0U9ehJ 9UMpo+iUurckgwlk3xBsLV3p0YsixRPLH3bP7nRxJrXNdk6rLTLIZDOWkrQL5k6KzNUx hJHg== X-Gm-Message-State: AOJu0YyMrI2cO23Wix3XE6gAXKX5m3ekJVIW/Xf6bkwDGP8vMTbm5/e1 f7P2q3ZI3GuQqQKefxGJ8JA+AkfSdXNrrF+l84P7IEb7eZF9qF9/0f7wtqIDGTCiNMgfllk8mbC m X-Received: by 2002:a05:6000:782:b0:381:f595:fd0a with SMTP id ffacd0b85a97d-38225907a2amr9456944f8f.16.1731934011413; Mon, 18 Nov 2024 04:46:51 -0800 (PST) Received: from localhost.localdomain ([176.187.198.1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432da298760sm157802675e9.37.2024.11.18.04.46.50 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 18 Nov 2024 04:46:50 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 01/15] vl: fix qemu_validate_options() indention Date: Mon, 18 Nov 2024 13:46:28 +0100 Message-ID: <20241118124643.6958-2-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241118124643.6958-1-philmd@linaro.org> References: <20241118124643.6958-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=philmd@linaro.org; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Gerd Hoffmann Signed-off-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240905141211.1253307-2-kraxel@redhat.com> Signed-off-by: Philippe Mathieu-Daudé --- 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) {