qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] virtio-vga: fix virtio-vga bar ordering


From: Gerd Hoffmann
Subject: Re: [PATCH] virtio-vga: fix virtio-vga bar ordering
Date: Thu, 23 Apr 2020 13:30:03 +0200

  Hi,

> Just a question, why didn't we choose the virtio-vga order to avoid
> shuffling from the beginning? Vga came after and we keep the
> compatibility ?

Well, transitional virtio devices need bar 0 for legacy virtio
compatibility (io bar), so using bar 1 for msix makes sense in that
case.

virtio-vga is new enough that it supports modern only so it doesn't need
to worry about legacy virtio compatibility.  It does have to worry about
vga compatibility though.  Therefore it uses a bar layout different from
anyone else ...

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]