From nobody Tue Feb 10 05:44:17 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1626795822; cv=none; d=zohomail.com; s=zohoarc; b=L3cMilqQ1RR5dd7DwS/3HziuHM8aHMUy11+CSHYEMR0TWCfNOQznBZF5o9ioMGSMqPCogSnpgAVzNLL7E3ZlPAq7qmCgzWEFvAyZT08jcWCnSk68LoBVxiS8Is0lKkQNdHdWODb1QcD7wY7pZfdNst6/zKx2qaCFc7CF8HbOHF0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1626795822; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=ayhsRddHReRSICrLmRl62O2leez/9W0/J5F8AflVyQk=; b=YZzsbsB3XLKvnMrCgAjBqPPzlV4JtIzueujLP1PgOY6tf8BLJICwubCJ7zeU/R2IW0wGEhbN/Xy1UgBsaCLuFRO4fgyqlpEhYtr7L1SV49u8ozmFlBM/FdAGs/UMAMRT9ovt5mt9mZx4IRpgQZ7iFYP+SgxnH2l3/1E4Z3HxqvU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1626795822501927.9218252017704; Tue, 20 Jul 2021 08:43:42 -0700 (PDT) Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-19-lv7fZInbP92XauoxBJwxPQ-1; Tue, 20 Jul 2021 11:42:53 -0400 Received: by mail-wr1-f70.google.com with SMTP id z6-20020a5d4c860000b029013a10564614so10495833wrs.15 for ; Tue, 20 Jul 2021 08:42:53 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.. (122.red-83-42-66.dynamicip.rima-tde.net. [83.42.66.122]) by smtp.gmail.com with ESMTPSA id p18sm2672018wmg.46.2021.07.20.08.42.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jul 2021 08:42:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626795774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ayhsRddHReRSICrLmRl62O2leez/9W0/J5F8AflVyQk=; b=eV0DgMICf+25RyPDJy9k9t9Glji2CKmbpsniOAaWDMArHAypYHdoG875nT38fSd4lhIShA AOwdoGyYLylVCJLmVJnFOSfqBaIrR2upBQM7kCDmRN4bzFRqKQVTuIdkfqPPeegC7wAcWJ XfBgs4BK3sbQDaubhpnVa3AZW+0nzgM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626795820; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ayhsRddHReRSICrLmRl62O2leez/9W0/J5F8AflVyQk=; b=OBHjVmn/y9D7hZS8Uh/sbst3JfMApyCiqxDnqpwltBg5rT99FCQDE9BO/wkY2H31bYOJjV 37rfzoO9mJ+qd09PSIBtuPkSZPJXbNZ7WOCOwL/Hz3zyJ+jFOcmxCN5sLlSnRRyDhoT3IY Kwc6DFVvbcBHi2n5iT0rmBpKAZoXFTg= X-MC-Unique: lv7fZInbP92XauoxBJwxPQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ayhsRddHReRSICrLmRl62O2leez/9W0/J5F8AflVyQk=; b=qooPhq59HeZL4J6jC11Upt0eN1tBsg49Pc9OhaQuQEtpXSk/g77hFDrcUWSCEWCEu3 3j1iADLxmC+U3n83TR4G1mMJyfiv9E47LZoAVtkKhQcAhVKj2dYkpqRakIsQheXYfKtl R9Jjcd50sccoWnxfZ19QhpzXuDIkM46zQLZwxrpfUfqG5sP8XFDspfWbNsRnqJ4vlL1V KiVwngBwBdknNV/QX8vJ49lzoW7NKY+y9i/9cEIrNa9EZ9Hqg1NZ8CWqRfxyhDAU4DIv 7/PKerdoYqRTg1e2V5QoAPCxyVRAHqTHDef7tw7f5wtyadKKuO+jOOM8H19+6lyc2n0G R5hw== X-Gm-Message-State: AOAM532hIhf/tr9OVvcGvd6q7qcJJe7h0zhEwL+r8sKqBJWvWBavPQzM DGUjruUlPe4Qqo8hhoAKXjBnGYqz7C+elbbObLCyZDv2g3aLEAPUZ6iMvAB1tqhcJr7frGEQ6PN gxiPt1Qqtzc74qQ== X-Received: by 2002:a05:6000:1544:: with SMTP id 4mr37531273wry.288.1626795772458; Tue, 20 Jul 2021 08:42:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwn82OYkN17aG3BwG8a6zIvixzMAvkvK5QD7g/y7gQnrQYJ+xDdv/y7lxFoIoPQtCbK+JZKkw== X-Received: by 2002:a05:6000:1544:: with SMTP id 4mr37531261wry.288.1626795772335; Tue, 20 Jul 2021 08:42:52 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , BALATON Zoltan , Bin Meng , David Gibson Subject: [PULL 16/17] hw/ppc/Kconfig: Add dependency PEGASOS2 -> ATI_VGA Date: Tue, 20 Jul 2021 17:41:40 +0200 Message-Id: <20210720154141.3919817-17-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210720154141.3919817-1-philmd@redhat.com> References: <20210720154141.3919817-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) (identity @redhat.com) X-ZM-MESSAGEID: 1626795824601100005 From: Philippe Mathieu-Daud=C3=A9 The ATI VGA device isn't a requisite for the Pegasos2 machine because Linux only uses the serial console; see commit ba7e5ac18e7 ("hw/ppc: Add emulation of Genesi/bPlan Pegasos II") for rationale. Using the default devices we don't have any problem: $ qemu-system-ppc -M pegasos2 qemu-system-ppc: standard VGA not available But when trying to explicitly use the ATI device we get an error: $ qemu-system-ppc -M pegasos2 -vga none -bios pegasos2.rom -device ati-vg= a,romfile=3D qemu-system-ppc: -device ati-vga,romfile=3D: 'ati-vga' is not a valid dev= ice model name Add it as an implicit Kconfig dependency. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20210515173716.358295-13-philmd@redhat.com> Acked-by: BALATON Zoltan Reviewed-by: Bin Meng Acked-by: David Gibson --- hw/ppc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig index 85b9c93f02e..400511c6b70 100644 --- a/hw/ppc/Kconfig +++ b/hw/ppc/Kconfig @@ -79,6 +79,7 @@ config PEGASOS2 select VOF # This should come with VT82C686 select ACPI_X86 + imply ATI_VGA =20 config PREP bool --=20 2.31.1