compat: disable edid on correct virtio-gpu device
PATCH 1/1 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 <[email protected]>
Tested-by Lukáš Doktor <[email protected]>
Signed-off-by Cornelia Huck <[email protected]>
---
Sorry about my testing failure on the original patch, and thanks to Lukáš for finding this.
--- hw/core/machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/core/machine.c +1 -1
@@ -53,7 +53,7 @@ GlobalProperty hw_compat_4_0[] = { { "secondary-vga", "edid", "false" }, { "bochs-display", "edid", "false" }, { "virtio-vga", "edid", "false" }, - { "virtio-gpu", "edid", "false" }, + { "virtio-gpu-device", "edid", "false" }, { "virtio-device", "use-started", "false" }, { "virtio-balloon-device", "qemu-4-0-config-size", "true" }, { "pl031", "migrate-tick-offset", "false" },
Signature · 1 line
2.21.1
Quoted 10 lines · Cornelia Huck
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 <[email protected]>Tested-by Lukáš Doktor <[email protected]>Signed-off-by Cornelia Huck <[email protected]>
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 23 lines
---
Sorry about my testing failure on the original patch, and thanks to Lukáš for finding this.
--- hw/core/machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/core/machine.c +1
-1@@ -53,7 +53,7 @@ GlobalProperty hw_compat_4_0[] = { { "secondary-vga", "edid", "false" }, { "bochs-display", "edid", "false" }, { "virtio-vga", "edid", "false" }, - { "virtio-gpu", "edid", "false" }, + { "virtio-gpu-device", "edid", "false" }, { "virtio-device", "use-started", "false" }, { "virtio-balloon-device", "qemu-4-0-config-size", "true" }, { "pl031", "migrate-tick-offset", "false" },