[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical Qem
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole |
Date: |
Thu, 21 Mar 2013 15:43:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130307 Thunderbird/17.0.3 |
Hi,
>>>> If so, we're going to need to model what the hardware actually
>>>> does, which is that there's a single connection on the back
>>>> of the box for a monitor, and it's guest software controllable
>>>> which of the two display devices is routed to the connection...
>>>
>>> How does this work in 1.4?
>>
>> I guess the second display device was never ever shown anywhere?
>
> Correct. We rely on "last display device wins" plus the fact this
> happens to match up with the device Linux chooses for display.
> This is obviously not great but up til now QEMU hasn't actually
> supported multiple display devices so I haven't worried about it.
Ok.
I think the most sensible way to handle this is to implement the output
routing device, make it own the (single) QemuConsole, and depending on
the router state the one or the other display device is allowed to
render to the QemuConsole.
Alternative would be to give a QemuConsole to each display device (like
it is today), then add graphics_hw_{activate,deactivate} ops and have
UIs react on it. I suspect that would quickly become a bit messy though
with all the different UIs we have. Also with gtk you could end up with
the vte tabs being attached to a window with an inactive display device ...
Comments?
cheers,
Gerd
- Re: [Qemu-devel] [PATCH 07/23] console: switch color_table_rgb to pixman_color_t, (continued)
- [Qemu-devel] [PATCH 23/23] qxl: register QemuConsole for secondary cards, Gerd Hoffmann, 2013/03/20
- [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Gerd Hoffmann, 2013/03/20
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Anthony Liguori, 2013/03/20
- Message not available
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Peter Maydell, 2013/03/20
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Gerd Hoffmann, 2013/03/21
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Gerd Hoffmann, 2013/03/21
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Peter Maydell, 2013/03/21
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole,
Gerd Hoffmann <=
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Anthony Liguori, 2013/03/21
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Peter Maydell, 2013/03/22
[Qemu-devel] [PATCH 17/23] console: gui timer fixes, Gerd Hoffmann, 2013/03/20
[Qemu-devel] [PATCH 19/23] console: add qemu_console_is_*, Gerd Hoffmann, 2013/03/20
[Qemu-devel] [PATCH 14/23] console: move gui_update+gui_setup_refresh from vl.c into console.c, Gerd Hoffmann, 2013/03/20
[Qemu-devel] [PATCH 12/23] console: simplify screendump, Gerd Hoffmann, 2013/03/20
[Qemu-devel] [PATCH 20/23] console: allow pinning displaychangelisteners to consoles, Gerd Hoffmann, 2013/03/20
[Qemu-devel] [PATCH 16/23] console: add GraphicHwOps, Gerd Hoffmann, 2013/03/20