From patchwork Wed May 3 09:12:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 678807 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp946307wrs; Wed, 3 May 2023 02:13:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5j+HEPwUc4GslZK/rUo/0Lx9zhNUWs/G9oIQ8WzIF1zzxGhJ2fbxEcWZ3VvWvGvn/tNeA2 X-Received: by 2002:ac8:5fcb:0:b0:3f1:381d:1067 with SMTP id k11-20020ac85fcb000000b003f1381d1067mr29374786qta.42.1683105212377; Wed, 03 May 2023 02:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683105212; cv=none; d=google.com; s=arc-20160816; b=yTqjirEAqLB5QeDVw4aYta5SfCnlt27osl5jnMLtJUQTUldF2mdzIuttIM9oGEso/I J8i1R3xn/JDBwMpxzQiR6BaWUZRPdDmQwA9tDQaJFlICav/p4BgVueGw6draGCG5FqWz wc0M2So/JV65SNf64QpWxWbJRV7KF1O+mbigxB8sXJSG3GIndFjhS4vWOsaOMeB/Wo1C 49RQnmuhAWZHDFJAKT2/dPxB6m7yyD2AO15EPiX+aegnukF3o9aT8tKSTPtpTfu2tUek SHGFDxmV/5e6Lrr1JWtO8byoX6UYVuSMz9esjfiGi0pLQKUqhkrFyrygohSqQBqRCWNd Q+ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=uuEL8ob/VTpYQLaouC1Z2mzFMQwE/jnsrH75GLkP/hY=; b=qR2AE8NLkTWGPuai1lCQYY6V8DAxMdDxZEx6ceJi/kpnusGUkNgMbE6jGDJA1W+AcY XGsIs6R49PN2DGb5qJ1WGICYKCSMsmCsDwbfhIfLIZpsGPRzDzFPEOPR30y2d6bogN8k WkTu/I/8frzE++XmrJ6DVkXLBQilRU/g+2r+tL7xADvIBhGzWKteHy3YFLGJ5UCFDdYk E4x8CcvSoXS96qKifJP9tsgxqPpHLgdC/ZtZ1UuL/PMYvObGLTWEHoBScecrX0llhSPT rHLbOQFIY6F/htJ8xTf4JS4Uxri9cEM8pHiQ9rZL+EJUInZ/6GB5GTCWb8hGxFDbFCI3 Agsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Du3IpKEx; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t64-20020a374643000000b0074df4277968si17611020qka.164.2023.05.03.02.13.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 May 2023 02:13:32 -0700 (PDT) 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=Du3IpKEx; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pu8Xk-0004BT-UU; Wed, 03 May 2023 05:13:00 -0400 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 1pu8Xh-0003rU-T5 for qemu-devel@nongnu.org; Wed, 03 May 2023 05:12:57 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pu8Xa-0005sE-01 for qemu-devel@nongnu.org; Wed, 03 May 2023 05:12:57 -0400 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3062d764455so2311454f8f.3 for ; Wed, 03 May 2023 02:12:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683105168; x=1685697168; 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=uuEL8ob/VTpYQLaouC1Z2mzFMQwE/jnsrH75GLkP/hY=; b=Du3IpKExaEVATeD7tFRCCbYRxgUOkmTAamzoVyWQTBSbLkkce8DmDqH0C0PMyrESL0 IPhvrRuD+O+aoCU1vgefAC1LH6OTKoSehqJVj3qLkTtJS8ReroUJhn0aATnx3VI3ISP2 2XnocAcmWNWlbWTfCLTWvaym0HlFGg6tPf75CdJ8+qjOBM1QrLFH0lW/QRIPutUEQ15W qYSSYa0BqM4oBbFHpG859Ljy1WJdwDPyVGnAo11bRmOHdLfe6TLh2zmBbWW1mWnLfZ6y pK2jxiLkFytbs+Q7xQyHJNBrbB8L5UM1qs9VWNM+275VQRI4fXHoCcQKppUZnURZ4wo3 4Cbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683105168; x=1685697168; 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=uuEL8ob/VTpYQLaouC1Z2mzFMQwE/jnsrH75GLkP/hY=; b=aOpDSIVvlEx+d6COHJXmQbfkQ0ssTlQzNhyqaIIfq42vRMXx/OWXZ9cqAhsHIK18GD SEi2ORjQEXkSruvi7XGJ1Ys4uPZwwRUiGzZPm+3J/5h8maYuuQgSsjpnkrnCKPeSOvSy QNcy7vJWxs9NIBtJ9CmJY6WBiGTHseOVoR4Fxm9QZIn68QmVtCzQrzZD13W1rXI9b8fa Rr+P8rwOKPKtN8eGmE91QxsYgUyovJM+W9yMZlIKXNVl18bThrlqiUaQoqxt3pcjJIUm DFIpLMEC0t/PxiF3jIrLC8BxMIs4Jsd0iWNxjgY8b+WvG2PfJk3T1/Atg8lNcYX2AhFo voyg== X-Gm-Message-State: AC+VfDyfkzj84OmijZvD//9eSXZ4o5t1+3m+KXOh2AlTXyjIhwSY6h5J 4/IXgQQ0/dnLdVaQ74zs5174ZQ== X-Received: by 2002:a5d:6392:0:b0:306:43ad:b34e with SMTP id p18-20020a5d6392000000b0030643adb34emr765468wru.18.1683105168355; Wed, 03 May 2023 02:12:48 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id b10-20020a5d550a000000b0030639a86f9dsm3597277wrv.51.2023.05.03.02.12.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 02:12:47 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 87E951FFBF; Wed, 3 May 2023 10:12:45 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Laurent Vivier , Artyom Tarasenko , "Edgar E. Iglesias" , Wainer dos Santos Moschetta , Thomas Huth , Leif Lindholm , Paolo Bonzini , Gerd Hoffmann , Helge Deller , Xiaojuan Yang , Stefan Hajnoczi , Cleber Rosa , Peter Maydell , Eduardo Habkost , Juan Quintela , John Snow , Yoshinori Sato , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Ilya Leoshkevich , Pavel Dovgalyuk , Andrew Jeffery , qemu-s390x@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson , qemu-arm@nongnu.org, Bastian Koppelmann , Beraldo Leal , Max Filippov , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Mark Cave-Ayland , Jiaxun Yang , Radoslaw Biernacki , Aurelien Jarno , David Hildenbrand , Markus Armbruster , Song Gao , Joel Stanley , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Phil?= =?utf-8?q?ippe_Mathieu-Daud=C3=A9?= , Fabiano Rosas Subject: [PATCH 05/22] hw/arm: Select VIRTIO_NET for virt machine Date: Wed, 3 May 2023 10:12:27 +0100 Message-Id: <20230503091244.1450613-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230503091244.1450613-1-alex.bennee@linaro.org> References: <20230503091244.1450613-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x434.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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: Fabiano Rosas The 'virt' machine uses virtio-net-pci as a fallback when no other network driver has been selected via command line. Select VIRTIO_NET and VIRTIO_PCI from CONFIG_ARM_VIRT to avoid errors when PCI_DEVICES=n (due to e.g. --without-default-devices): $ ./qemu-system-aarch64 -M virt -accel tcg -cpu max qemu-system-aarch64: Unsupported NIC model: virtio-net-pci Reviewed-by: Thomas Huth Signed-off-by: Fabiano Rosas Signed-off-by: Alex Bennée Message-Id: <20230208192654.8854-6-farosas@suse.de> Reviewed-by: Richard Henderson --- hw/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index 2d7c457955..4c23fbf800 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -32,6 +32,8 @@ config ARM_VIRT select VIRTIO_MEM_SUPPORTED select ACPI_CXL select ACPI_HMAT + select VIRTIO_PCI + select VIRTIO_NET config CHEETAH bool