All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: "Wen, Jianxian" <Jianxian.Wen@verisilicon.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"Gao, Lu" <Lu.Gao@verisilicon.com>
Subject: Re: [PATCH] ui/console: allow display device to be labeled with given id
Date: Thu, 9 Jun 2022 11:33:00 +0200	[thread overview]
Message-ID: <20220609093300.m7eycyh2suyzvxgf@sirius.home.kraxel.org> (raw)
In-Reply-To: <4C23C17B8E87E74E906A25A3254A03F4018FC0021E@SHASXM06.verisilicon.com>

On Thu, May 26, 2022 at 07:08:14AM +0000, Wen, Jianxian wrote:
> The update makes it easier to find and specify devices.
> They can only be found by device type name without the id field,
> for example, devices of the same type have the same label.
> The update also adds a head field,
> which is useful for devices that support multiple heads,
> such as virtio-gpu.

Can we make the head field conditional, so it's only done in case there
are actually multiple heads?  Both qxl and virtio-gpu have a max_outputs
property, so checking if that exists and is greater than 1 should work
for that.

take care,
  Gerd



      reply	other threads:[~2022-06-09 12:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-26  7:08 [PATCH] ui/console: allow display device to be labeled with given id Wen, Jianxian
2022-06-09  9:33 ` Gerd Hoffmann [this message]

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=20220609093300.m7eycyh2suyzvxgf@sirius.home.kraxel.org \
    --to=kraxel@redhat.com \
    --cc=Jianxian.Wen@verisilicon.com \
    --cc=Lu.Gao@verisilicon.com \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.