From patchwork Fri Jul 5 12:45: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: 1957312 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Jarcn7KV; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WFtZQ2tTyz1xpP for ; Fri, 5 Jul 2024 22:47:10 +1000 (AEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPiJx-0001li-BQ; Fri, 05 Jul 2024 08:45:49 -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 1sPiJu-0001l3-CR for qemu-devel@nongnu.org; Fri, 05 Jul 2024 08:45:47 -0400 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sPiJs-0006NK-3X for qemu-devel@nongnu.org; Fri, 05 Jul 2024 08:45:46 -0400 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2ee7885aa5fso17303951fa.1 for ; Fri, 05 Jul 2024 05:45:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1720183542; x=1720788342; 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=WNDLgSKuj/JEGkQnNe9YyIJCv5XnbjbM9mOjkA4c2oA=; b=Jarcn7KVIVZaBO4y1EkyQwCoxcFlGzXckGWDtN+bkcLWVT/HRF0YZgUrSv3iaGvu2n 5mm7EPXOU9DMEVXDWsZxaibOxOfTkpI0uUIia/jKCuEetsw2EcFlBZXTsxdh7rfZD2iT Z0O/vGldCWbkCfqrXyGdyac510MuR4x3E9TIVHNeNng2IBbL4K+F/fMxwirIal9rGyQK JpH6WH12qygivKJNun7CkFuFb1sgRpKzwNxLxcRGghN8iJJYifb8an1r5ERL22m1nF5S LbRN+ewZZiWryXAoI0yNE+kvK23H2AJ2WFzxPBQld21AIiEm8qemPGQaYWZaCAYcshPR 0y3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720183542; x=1720788342; 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=WNDLgSKuj/JEGkQnNe9YyIJCv5XnbjbM9mOjkA4c2oA=; b=T2VUTIsiAJThk76IOOF0skrfJZgVR7bBs1Qh/840JIyHdSJ2JDJz7yjkGKIlqRDymm uxYoOcraI72vb0ivcgDMzgk5ovtYA14Xa1FgewrMsBtnAQnV0X+C8cDn3SBgIb9+Nflf qwUWp3uqe5n6FXv9/CU5gzcJ2EtqriTxAL+ORwP9f+1Y5s+1DIJ29r0gI+dzUaT3HvZb C1oHB4ghxT+NOl5zlu+MqPfh2dolKzySjkQdORexV/rLxPwYCT9BgLEgIgvbg8hfP/je UDeSYUINx08ZqprbsUP4dXd3klaWyxDWpIIItzUzJsPUqmQUOC3nXS+4fACcq9MTDTcg S5iw== X-Gm-Message-State: AOJu0Yyt59/juJUmcJJvpdtGa9NOMpykS2DDdBDU49y+QL1/J16/zxQF 7SihmbnU2K0aQHJZyPSDu6dMD8TYS2v3sWs1bJK0ERxFY76zrBTlIGzPuHqgFpaX1NhctL8OY2G u X-Google-Smtp-Source: AGHT+IFdOo0yRtFdNljjvpFDm4jujC03JxI7Ags1YqRVSRTQ/OGJcFgTZzfsdKvJyrT4Rjsrb+haqQ== X-Received: by 2002:a2e:b173:0:b0:2ec:550e:24f3 with SMTP id 38308e7fff4ca-2ee8ed5f62cmr29408011fa.10.1720183541741; Fri, 05 Jul 2024 05:45:41 -0700 (PDT) Received: from m1x-phil.lan ([176.176.163.129]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4264a283551sm61209735e9.42.2024.07.05.05.45.40 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 05 Jul 2024 05:45:41 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Eduardo Habkost , Paolo Bonzini , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 2/2] system: Enable the device aliases for or1k, too Date: Fri, 5 Jul 2024 14:45:28 +0200 Message-ID: <20240705124528.97471-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240705124528.97471-1-philmd@linaro.org> References: <20240705124528.97471-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=philmd@linaro.org; helo=mail-lj1-x22c.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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Thomas Huth Now that we've got a "virt" machine for or1k that supports PCI too (commit 40fef82c4e "hw/openrisc: Add PCI bus support to virt") we can also enable the virtio device aliases like we do on other similar platforms. This will e.g. help to run the iotests with qemu-system-or1k later. Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240705090808.1305765-1-thuth@redhat.com> Signed-off-by: Philippe Mathieu-Daudé --- system/qdev-monitor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/system/qdev-monitor.c b/system/qdev-monitor.c index acdc8b73a3..44994ea0e1 100644 --- a/system/qdev-monitor.c +++ b/system/qdev-monitor.c @@ -61,6 +61,7 @@ typedef struct QDevAlias QEMU_ARCH_I386 | \ QEMU_ARCH_LOONGARCH | \ QEMU_ARCH_MIPS | \ + QEMU_ARCH_OPENRISC | \ QEMU_ARCH_PPC | \ QEMU_ARCH_RISCV | \ QEMU_ARCH_SH4 | \