qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] handling guest multiple displays
@ 2022-07-18 23:30 Dongwon Kim
  2022-07-18 23:30 ` [PATCH v5 1/2] ui/gtk: detach VCs for additional guest displays Dongwon Kim
  2022-07-18 23:30 ` [PATCH v5 2/2] ui/gtk: a new array param monitor to specify the target displays Dongwon Kim
  0 siblings, 2 replies; 3+ messages in thread
From: Dongwon Kim @ 2022-07-18 23:30 UTC (permalink / raw)
  To: qemu-devel
  Cc: armbru, berrange, kraxel, pbonzini, f4bug, vivek.kasireddy,
	Dongwon Kim

This patch seires is for adding some useful features for the guest os with
multi-displays. First patch is to make all of guest displays visible
when guest os is launched using "detach". Second patch is for providing
a method to assign each guest display to specific physical monitor,
which would be useful if someone wants to directly full-screen individual
guest scanouts to host's physical displays.

Changes in v5:

* ui/gtk: a new array param monitor to specify the target

  - rephrased the description of the new param, 'monitor' for clarification 

Changes in v4:

* ui/gtk: a new array param monitor to specify the target

  - changed "virtual-console" to an official term, "virtual console"
  - made if condition to check only 'full_screen' since 'has_full_screen' won't
    affect the result as 'full_screen' is always false if 'has_full_screen' is false.

Changes in v3:

* ui/gtk: a new array param monitor to specify the target

  - Revised commit message
  - Rewrote desription of the new parameter for clarification
  - 'for' loop that iterates through virtual consoles is actually executed only once
    only if the condition is met so replaced it with 'if' statement

Changes in v2:

* ui/gtk: detach VCS for additional guest displays

  - must check if the type of VC is GD_VC_GFX before qemu_console_is_graphic
  - It is not needed to pre-calculate n_gfx_vcs to determine how many times "detach"
    should be executed (n_gfx_vcs - 1) because the first virtual console (vc[0])
    is always in graphic mode so we can simply detach all other graphic mode
    virtual consoles.
  - making sure detached window's size same as original surface size

Dongwon Kim (2):
  ui/gtk: detach VCs for additional guest displays
  ui/gtk: a new array param monitor to specify the target displays

 qapi/ui.json    |  9 ++++++++-
 qemu-options.hx |  3 ++-
 ui/gtk.c        | 41 +++++++++++++++++++++++++++++++++++++++--
 3 files changed, 49 insertions(+), 4 deletions(-)

-- 
2.20.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-18 23:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-18 23:30 [PATCH v5 0/2] handling guest multiple displays Dongwon Kim
2022-07-18 23:30 ` [PATCH v5 1/2] ui/gtk: detach VCs for additional guest displays Dongwon Kim
2022-07-18 23:30 ` [PATCH v5 2/2] ui/gtk: a new array param monitor to specify the target displays Dongwon Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).