diff options
author | Anthoine Bourgeois <anthoine.bourgeois@gmail.com> | 2020-04-22 23:54:54 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-05-04 10:25:02 -0400 |
commit | 15138b5e6ff28a8e68a2e1cb6f4ca2fb7e5b057c (patch) | |
tree | e2058b1ba8194841a34f2dfe38b98e589f25caae /hw/display/cg3.c | |
parent | ba480fa6264b161697009448c3cbc0730485379e (diff) | |
download | qemu-15138b5e6ff28a8e68a2e1cb6f4ca2fb7e5b057c.zip qemu-15138b5e6ff28a8e68a2e1cb6f4ca2fb7e5b057c.tar.gz qemu-15138b5e6ff28a8e68a2e1cb6f4ca2fb7e5b057c.tar.bz2 |
virtio-vga: fix virtio-vga bar ordering
With virtio-vga, pci bar are reordered. Bar #2 is used for compatibility
with stdvga. By default, bar #2 is used by virtio modern io bar.
This bar is the last one introduce in the virtio pci bar layout and it's
crushed by the virtio-vga reordering. So virtio-vga and
modern-pio-notify are incompatible because virtio-vga failed to
initialize with this option.
This fix sets the modern io bar to the bar #5 to avoid conflict.
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
Message-Id: <20200422215455.10244-1-anthoine.bourgeois@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/cg3.c')
0 files changed, 0 insertions, 0 deletions