From 94210dc95e9f7c6ff4066a9b35a288e6f1c271bf Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 23 Jun 2015 20:47:27 +0000 Subject: [PATCH] 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 Reviewed-by: Laszlo Ersek Acked-by: Jordan Justen [lersek@redhat.com: subject fixup and QEMU commit reference in commit msg] Signed-off-by: Laszlo Ersek git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17690 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/QemuVideoDxe/Driver.c | 5 +++++ 1 file changed, 5 insertions(+) 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 @@ -52,6 +52,11 @@ QEMU_VIDEO_CARD gQemuVideoCardList[] = { 0x0100, QEMU_VIDEO_BOCHS, L"QEMU QXL VGA" + },{ + 0x1af4, + 0x1050, + QEMU_VIDEO_BOCHS_MMIO, + L"QEMU VirtIO VGA" },{ 0 /* end of list */ } -- 2.39.2