]> git.ipfire.org Git - thirdparty/qemu.git/commit
compat: disable edid on correct virtio-gpu device
authorCornelia Huck <cohuck@redhat.com>
Wed, 18 Mar 2020 09:39:19 +0000 (10:39 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 4 Jun 2020 01:10:27 +0000 (20:10 -0500)
commit219362f9655859056e8f15cf96fc3169d4dc80de
tree6770cd27839538ac808407ba1defa6ffd6602808
parent8fc4aa4822c55c9dbf7061a6fa4d9b3b8471800d
compat: disable edid on correct virtio-gpu device

Commit bb15791166c1 ("compat: disable edid on virtio-gpu base
device") tried to disable 'edid' on the virtio-gpu base device.
However, that device is not 'virtio-gpu', but 'virtio-gpu-device'.
Fix it.

Fixes: bb15791166c1 ("compat: disable edid on virtio-gpu base device")
Reported-by: Lukáš Doktor <ldoktor@redhat.com>
Tested-by: Lukáš Doktor <ldoktor@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Message-id: 20200318093919.24942-1-cohuck@redhat.com
Cc: qemu-stable@nongnu.org
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 02501fc39381c4dabaf6becdd12c2a4754c3847c)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/core/machine.c