Message ID | 20231106110336.358-3-philmd@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65D0F1EB29 for <kvm@vger.kernel.org>; Mon, 6 Nov 2023 11:03:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BaU0smQd" Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04E8DBB for <kvm@vger.kernel.org>; Mon, 6 Nov 2023 03:03:55 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-509109104e2so5570680e87.3 for <kvm@vger.kernel.org>; Mon, 06 Nov 2023 03:03:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699268633; x=1699873433; darn=vger.kernel.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=d9nIh4jZ3rUpsBw4LSZSNiaZI1TuJJRNoEVBCo+5kN8=; b=BaU0smQdlIyA05qINXOo4to7vqfUT3jnu+wuKPcKFYEq2Y28PbNBKjo3CcbEAFLNTn D5ySEE31D8PfBRkEYvTfB5G554LLBRfzekDQSI09Cec3CvTS9ecp43SvJQr6iRgetcfk Ybxtlf3hwyfk1WLpSk0348Nxy2W2qRcc+oYXcRKDypAvtrQUeCPe1W7TOqmh1C2PSTFq EPcNmtSkMtDXmq/T/K+XLOz7FviBFBidt14iRiqHKILBQ9mp1BN6G8cV8LS64C2pMfi/ t42QhuPyhH6icvv9a72lGCUDFJdi2twmwgVVcYF0TSfm1EfDoXjuAieLfkk6V1Xf3QYB 8K6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699268633; x=1699873433; 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=d9nIh4jZ3rUpsBw4LSZSNiaZI1TuJJRNoEVBCo+5kN8=; b=Ae5X/V/fC2a7AKb5g/uqsl9Gp8EazAQQyeSLvzHdKv5jQtIckhc05WyUc75Kj0NFn+ u6KzRvxJghNTzvVYzK6kvq3f3ri9FLGCLHwRIEzdwSMm32KsHz+uI+uWln5PDa9Jhovl VQix1uq+Qafdp6gNl9ydZqqJy42kKp3yNs1OsIipGgzG7cOLpvDP6LqGt9yMdkEiM0py s8KmyXloH79rLNQcQRf3clvOdImXMC9ewXgQNZ1kop78jDZaj9LXGXgbWV1991oOo1eG 6STreswYcDmLyKWj39esBfDmCidpQD7hE5bdrhpJfkPdGzmmItFr9OB7sYvEUGuW/eXt WoxA== X-Gm-Message-State: AOJu0YxpaLNNhz76ElKc0LORYInqmBNkq1XsTCMO5EskjQN3aLS7KP/O l1+atREJ9IYIjLysY1Nf8kUoHL7mlGQHP+0sK9Y= X-Google-Smtp-Source: AGHT+IExKZ0rki8Pzt9Fq9bSXa3p5OpCW6d2acd5GD6zgVvNcXpLdpP4uLK9kjEGGioQ4HTvFd820g== X-Received: by 2002:ac2:51b0:0:b0:500:b7ed:105a with SMTP id f16-20020ac251b0000000b00500b7ed105amr19847445lfk.29.1699268633369; Mon, 06 Nov 2023 03:03:53 -0800 (PST) Received: from m1x-phil.lan (176-131-220-199.abo.bbox.fr. [176.131.220.199]) by smtp.gmail.com with ESMTPSA id p12-20020adfce0c000000b0032dc1fc84f2sm9188671wrn.46.2023.11.06.03.03.51 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 06 Nov 2023 03:03:53 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, qemu-s390x@nongnu.org, qemu-block@nongnu.org, qemu-riscv@nongnu.org, qemu-ppc@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Marc-Andr=C3=A9_Lureau?= <marcandre.lureau@redhat.com>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Paolo Bonzini <pbonzini@redhat.com> Subject: [PULL 02/60] vl: constify default_list Date: Mon, 6 Nov 2023 12:02:34 +0100 Message-ID: <20231106110336.358-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231106110336.358-1-philmd@linaro.org> References: <20231106110336.358-1-philmd@linaro.org> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: <kvm.vger.kernel.org> List-Subscribe: <mailto:kvm+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:kvm+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit |
Series |
[PULL,01/60] vl: Free machine list
|
expand
|
diff --git a/system/vl.c b/system/vl.c index ff76eb0d07..8c803228f4 100644 --- a/system/vl.c +++ b/system/vl.c @@ -194,7 +194,7 @@ static int default_sdcard = 1; static int default_vga = 1; static int default_net = 1; -static struct { +static const struct { const char *driver; int *flag; } default_list[] = {