diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2015-06-23 20:47:27 +0000 |
---|---|---|
committer | lersek <lersek@Edk2> | 2015-06-23 20:47:27 +0000 |
commit | 94210dc95e9f7c6ff4066a9b35a288e6f1c271bf (patch) | |
tree | 7ae1f942ea896e608b5239920050aedbdb572d17 /OvmfPkg | |
parent | 4a066c7b27851227c0db963576b67b5af883ec3e (diff) | |
download | edk2-platforms-94210dc95e9f7c6ff4066a9b35a288e6f1c271bf.tar.xz |
OvmfPkg: QemuVideoDxe: add virtio-vga support
Qemu commit c5d4dac ("virtio-vga: add virtio gpu device with vga
compatibility") enables OVMF to drive the virtio-vga device:
The vga compatibility part of virtio-vga is identical to the qemu
standard vga, so supporting that is as easy as adding the PCI ID
to the list.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
[lersek@redhat.com: subject fixup and QEMU commit reference in commit msg]
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17690 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg')
-rw-r--r-- | OvmfPkg/QemuVideoDxe/Driver.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OvmfPkg/QemuVideoDxe/Driver.c b/OvmfPkg/QemuVideoDxe/Driver.c index c74d1a2ab8..8d962b4438 100644 --- a/OvmfPkg/QemuVideoDxe/Driver.c +++ b/OvmfPkg/QemuVideoDxe/Driver.c @@ -53,6 +53,11 @@ QEMU_VIDEO_CARD gQemuVideoCardList[] = { QEMU_VIDEO_BOCHS,
L"QEMU QXL VGA"
},{
+ 0x1af4,
+ 0x1050,
+ QEMU_VIDEO_BOCHS_MMIO,
+ L"QEMU VirtIO VGA"
+ },{
0 /* end of list */
}
};
|