]> xenbits.xensource.com Git - osstest/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>
Thu, 11 Jun 2015 07:23:03 +0000 (09:23 +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>
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;
         }