[PATCH v3 4/5] virtio: blk: Fix converting the vendor id to a string
Daniel Palmer
daniel at thingy.jp
Mon Apr 13 00:05:22 CEST 2026
Hi Kuan-Wei,
On Mon, 13 Apr 2026 at 07:00, Kuan-Wei Chiu <visitorckw at gmail.com> wrote:
> I just took a quick look through the virtio spec, and indeed it never
> mentions that the mmio vendor id should be a string.
>
> Given this, should we even treat qemu as a special case here?
> Perhaps the simplest and most spec-compliant approach is to never
> assume it's a string, and just uniformly print the hex value for all
> devices. What do you think?
I think printing a pretty vendor name makes sense and since it's
basically just QEMU right now the little special case for it isn't too
bad.
I think not confusing people by showing them a bunch of hex where they
are used to seeing QEMU is also worthwhile.
Thanks,
Daniel
More information about the U-Boot
mailing list