From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id BD21AAC1748 for ; Thu, 21 Sep 2023 17:06:54 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=eQ5UjYF/TjCMwosfXCNJaA4P2e28V6tdeF+BQNk7uHM=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition; s=20140610; t=1695316013; v=1; b=RngFBcpfQ6VVSDz2XfXAhcHtincZS4maxV/sB7WAVAbcAPQS21hWcUhW26Jnjqvf9AKnqmWt xs4bWzJlB9RUI4fzI2tiHIMsLzPuFnOPwq23imRcsS38FheIO6rpD2mo7Hi0SrnIlkGFyqZrUE8 eF4EZH0xSP1393mFjzTVtgH4= X-Received: by 127.0.0.2 with SMTP id di5uYY7687511xFJgcbYI2t0; Thu, 21 Sep 2023 10:06:53 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.964.1695316012642842362 for ; Thu, 21 Sep 2023 10:06:52 -0700 X-Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-549-h9uQZoElO96vzicoUlhcZg-1; Thu, 21 Sep 2023 13:06:47 -0400 X-MC-Unique: h9uQZoElO96vzicoUlhcZg-1 X-Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 908303C0F370; Thu, 21 Sep 2023 17:06:46 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.193.95]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 58F4820268D6; Thu, 21 Sep 2023 17:06:46 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 2345D18007AA; Thu, 21 Sep 2023 19:06:45 +0200 (CEST) Date: Thu, 21 Sep 2023 19:06:45 +0200 From: "Gerd Hoffmann" To: Peter Maydell Cc: QEMU Developers , devel@edk2.groups.io, Leif Lindholm , Ard Biesheuvel , Sami Mujawar Subject: Re: [edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs Message-ID: References: MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,kraxel@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 35dHVMkzQL9jaGtaDyMBpxcpx7686176AA= Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=RngFBcpf; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On Thu, Sep 21, 2023 at 04:34:27PM +0100, Peter Maydell wrote: > As long as EDK2 does something sensible when the DTB says "two > UARTs here and here" and it also finds a virtio-serial PCI > device, I don't mind what exactly it does. The problem here is > more that EDK2 currently does strange things when told that > the hardware is present, rather than that anybody specifically wants > EDK2 to use multiple serial outputs. > > Though given there's no way to say in the DTB "use a PCI card > for your console" I think the virtio-serial approach is likely > to be awkward for users in practice. edk2 adds a virtio console to the edk2 console multiplexer if present (for both pci and mmio virtio transports), and systemd spawns also spawns a getty on /dev/hvc0 if present. So this works mostly automatic. Only if you also want the linux boot messages show up there too you need to add 'console=hvc0' to your kernel command line. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108958): https://edk2.groups.io/g/devel/message/108958 Mute This Topic: https://groups.io/mt/101498371/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-