Re: [RFC PATCH 2/2] virtio-gpu: Add an option to connect all outputs on startup

2023-03-29 Thread Damian Hobson-Garcia
On 2023/03/08 11:25, Damian Hobson-Garcia wrote: When multiple outputs are enabled using the "max_outputs" attribute, only the first connector appears as "Connected" in the guest DRM device. Additional connectors must be enabled from the host side UI frontend before they are

[RFC PATCH 1/2] gtk: Make sure widget is realized before updating

2023-03-08 Thread Damian Hobson-Garcia
Check that a widget has a window before trying to update its contents. --- ui/gtk.c | 4 1 file changed, 4 insertions(+) diff --git a/ui/gtk.c b/ui/gtk.c index fd82e9b1ca..e4e0980323 100644 --- a/ui/gtk.c +++ b/ui/gtk.c @@ -340,6 +340,10 @@ static void gd_update_full_redraw(VirtualConsole *v

[RFC PATCH 2/2] virtio-gpu: Add an option to connect all outputs on startup

2023-03-08 Thread Damian Hobson-Garcia
to the guest. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1107 Signed-off-by: Damian Hobson-Garcia --- hw/display/virtio-gpu-base.c | 12 +--- include/hw/virtio/virtio-gpu.h | 7 ++- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/hw/display/virtio-gpu-

[RFC PATCH 0/2] Enable additional display heads on guest launch

2023-03-08 Thread Damian Hobson-Garcia
t. If there is agreement I can extend this out to qxl as well. I have tested this with the following -display settings: none, gtk, sdl, vnc. Thank you, Damian Damian Hobson-Garcia (2): gtk: Make sure widget is realized before updating virtio-gpu: Add an option to connect all outputs on start