]> git.proxmox.com Git - mirror_qemu.git/commitdiff
compat: disable edid on virtio-gpu base device
authorCornelia Huck <cohuck@redhat.com>
Tue, 6 Aug 2019 11:58:19 +0000 (13:58 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 6 Aug 2019 14:45:59 +0000 (15:45 +0100)
'edid' is a property of the virtio-gpu base device, so turning
it off on virtio-gpu-pci is not enough (it misses -ccw). Turn
it off on the base device instead.

Fixes: 0a71966253c8 ("edid: flip the default to enabled")
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20190806115819.16026-1-cohuck@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/core/machine.c

index 28a475ad97a34965e641c3bc5d8abe456b824b30..32d1ca9abc5a2025c81481de1d17552398188e73 100644 (file)
@@ -32,7 +32,7 @@ GlobalProperty hw_compat_4_0[] = {
     { "secondary-vga",  "edid", "false" },
     { "bochs-display",  "edid", "false" },
     { "virtio-vga",     "edid", "false" },
-    { "virtio-gpu-pci", "edid", "false" },
+    { "virtio-gpu",     "edid", "false" },
     { "virtio-device", "use-started", "false" },
     { "virtio-balloon-device", "qemu-4-0-config-size", "true" },
     { "pl031", "migrate-tick-offset", "false" },