From: Thomas Huth <thuth@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
Paolo Bonzini <pbonzini@redhat.com>,
Gerd Hoffmann <kraxel@redhat.com>,
"Daniel P. Berrange" <berrange@redhat.com>
Cc: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>,
qemu-devel@nongnu.org, qemu-arm@nongnu.org,
Leif Lindholm <quic_llindhol@quicinc.com>
Subject: Re: [PATCH 1/2] docs: sbsa: correct graphics card name
Date: Thu, 25 May 2023 13:49:09 +0200 [thread overview]
Message-ID: <cab14b32-5419-45be-1ec0-a34d228349c6@redhat.com> (raw)
In-Reply-To: <CAFEAcA8O2WF2JjJ5k5L9e6yn1fh8n23cpkAbxuLSkNguaUumWw@mail.gmail.com>
On 25/05/2023 13.39, Peter Maydell wrote:
> On Thu, 25 May 2023 at 12:06, Mark Cave-Ayland
> <mark.cave-ayland@ilande.co.uk> wrote:
>>
>> On 25/05/2023 11:44, Peter Maydell wrote:
>>
>>> On Thu, 25 May 2023 at 11:32, Thomas Huth <thuth@redhat.com> wrote:
>>>
>>>> So there needs to be at least some logic dealing with vga_interface_type if
>>>> we want to be able to select a different graphics card for this machine.
>>>> Then why not go the full way and use pci_vga_init() here, too? ... that's
>>>> certainly the least confusing way for the users.
>>>
>>> Is it? From an Arm perspective, having "-vga" do anything
>>> at all is pretty confusing: it's a rather PC-centric option name.
>>> (Also pretty noticeable for the Sparc TCX/CG3 framebuffers,
>>> which are not VGA in any way.)
>>
>> Right. From the SPARC perspective it was added to allow the user to select either the
>> TCX (default) or CG3 framebuffers from the command line.
>>
>> However I guess that shouldn't be needed anymore now that mc->default_display exists.
>> Presumably there is now some kind of -global sun4m.default_display=cg3 command line
>> option that could set the machine default_display property value instead?
>
> Maybe. Handling builtin default devices remains kind of awkward.
> But for this Arm board they're all just PCI cards, so the
> only thing we really need is a way to say "don't create that
> default device"...
I wonder whether we could deprecate and finally remove "-vga" ... there is
also the "graphics" machine property that is used by some boards instead, so
maybe we could use that as a replacement for "-vga none" everywhere (and use
"-device xxx" as replacement for "vga xxx" of course). Thoughts?
Thomas
next prev parent reply other threads:[~2023-05-25 11:49 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-17 10:53 [PATCH v2] hw/arm/sbsa-ref: add GIC node into DT Marcin Juszkiewicz
2023-05-19 14:29 ` Leif Lindholm
2023-05-23 13:50 ` Peter Maydell
2023-05-23 15:56 ` [PATCH 1/2] docs: sbsa: correct graphics card name Marcin Juszkiewicz
2023-05-23 15:56 ` [PATCH 2/2] docs: sbsa: document platform version changes Marcin Juszkiewicz
2023-05-23 17:11 ` [PATCH 1/2] docs: sbsa: correct graphics card name Thomas Huth
2023-05-23 17:28 ` [PATCH v2 1/3] " Marcin Juszkiewicz
2023-05-23 17:28 ` [PATCH v2 2/3] docs: sbsa: document platform version changes Marcin Juszkiewicz
2023-05-23 17:28 ` [PATCH v2 3/3] hw/arm/Kconfig: sbsa-ref uses Bochs display Marcin Juszkiewicz
2023-05-23 18:42 ` Thomas Huth
2023-05-23 18:29 ` [PATCH v2 1/3] docs: sbsa: correct graphics card name Thomas Huth
2023-05-23 17:30 ` [PATCH 1/2] " Marcin Juszkiewicz
2023-05-23 18:41 ` Thomas Huth
2023-05-25 10:05 ` Peter Maydell
2023-05-25 10:32 ` Thomas Huth
2023-05-25 10:44 ` Peter Maydell
2023-05-25 10:53 ` Thomas Huth
2023-05-25 11:06 ` Mark Cave-Ayland
2023-05-25 11:39 ` Peter Maydell
2023-05-25 11:49 ` Thomas Huth [this message]
2023-05-24 8:39 ` [PATCH 1/3] hw/arm/sbsa-ref: honor "-vga none" argument Marcin Juszkiewicz
2023-05-24 8:39 ` [PATCH 2/3] hw/arm/sbsa-ref: add gfx card only if we have pci Marcin Juszkiewicz
2023-05-24 8:59 ` Thomas Huth
2023-05-24 9:27 ` Thomas Huth
2023-05-24 8:39 ` [PATCH 3/3] hw/arm/sbsa-ref: use MachineClass->default_display Marcin Juszkiewicz
2023-05-24 9:22 ` Thomas Huth
2023-05-24 9:25 ` Thomas Huth
2023-05-24 8:51 ` [PATCH 1/3] hw/arm/sbsa-ref: honor "-vga none" argument Thomas Huth
2023-05-24 9:27 ` Thomas Huth
2023-05-24 10:18 ` [PATCH v2 1/5] hw/arm: Use MachineClass->default_nic in the sbsa-ref machine Marcin Juszkiewicz
2023-05-24 10:18 ` [PATCH v2 2/5] Add Bochs to list of vga_interfaces Marcin Juszkiewicz
2023-05-24 10:18 ` [PATCH v2 3/5] hw/arm/sbsa-ref: honor "-vga none" argument Marcin Juszkiewicz
2023-05-24 10:18 ` [PATCH v2 4/5] hw/arm/sbsa-ref: add gfx card only if we have pci Marcin Juszkiewicz
2023-05-24 10:18 ` [PATCH v2 5/5] hw/arm/sbsa-ref: use MachineClass->default_display Marcin Juszkiewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cab14b32-5419-45be-1ec0-a34d228349c6@redhat.com \
--to=thuth@redhat.com \
--cc=berrange@redhat.com \
--cc=kraxel@redhat.com \
--cc=marcin.juszkiewicz@linaro.org \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=quic_llindhol@quicinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).