From b7f1bb38b011efd13784e8781dafeedcc6e900a1 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Fri, 17 Nov 2023 14:55:07 +0400 Subject: ui: use "vc" chardev for dbus, gtk & spice-app MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Those display have their own implementation of "vc" chardev, which doesn't use pixman. They also don't implement the width/height/cols/rows options, so qemu_display_get_vc() should return a compatible argument. This patch was meant to be with the pixman series, when the "vc" field was introduced. It fixes a regression where VC are created on the tty (or null) instead of the display own "vc" implementation. Signed-off-by: Marc-André Lureau Acked-by: Thomas Huth --- ui/gtk.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/gtk.c') diff --git a/ui/gtk.c b/ui/gtk.c index be047a41ad..810d7fc796 100644 --- a/ui/gtk.c +++ b/ui/gtk.c @@ -2534,6 +2534,7 @@ static QemuDisplay qemu_display_gtk = { .type = DISPLAY_TYPE_GTK, .early_init = early_gtk_display_init, .init = gtk_display_init, + .vc = "vc", }; static void register_gtk(void) -- cgit 1.4.1