]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commitdiff
vga: rework virtio-vga support
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 8 Apr 2015 08:36:22 +0000 (10:36 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 12 Jun 2015 06:51:53 +0000 (08:51 +0200)
Unlike planned earlier virtio-vga will be compatible with
the qemu stdvga, with the framebuffer in bar 0.  Drop the
virtio-vga chunk, update comment accordingly.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 87f848ec2d6ca609252b313b062bbd57bd290565)

vgasrc/bochsvga.c

index ee6f4373113c20c038113ec2b6d0d2caa98769d8..aa82fc5a53301d5450021e607ce5bbbaf4bcf5df 100644 (file)
@@ -403,10 +403,7 @@ bochsvga_setup(void)
         case 0x15ad: /* qemu vmware vga */
             barid = 1;
             break;
-        case 0x1af4: /* virtio-vga */
-            barid = 2;
-            break;
-        default: /* stdvga, qxl */
+        default: /* stdvga, qxl, virtio */
             barid = 0;
             break;
         }