[PULL 00/40] UI patches

marcandre.lureau@redhat.com posted 40 patches 4 days, 5 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260422104042.3936506-1-marcandre.lureau@redhat.com
Maintainers: "Marc-André Lureau" <marcandre.lureau@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Fabiano Rosas <farosas@suse.de>, Laurent Vivier <lvivier@redhat.com>
include/ui/console.h                          |    3 +-
ui/console-priv.h                             |    3 +-
ui/keymaps.h                                  |    1 +
ui/vgafont.h                                  | 4616 +----------------
ui/vnc.h                                      |    4 +-
chardev/char-win.c                            |   16 +-
system/runstate.c                             |    3 +
ui/clipboard.c                                |    1 +
ui/console-vc-stubs.c                         |    8 +-
ui/console-vc.c                               |  612 ++-
ui/console.c                                  |  120 +-
ui/input-linux.c                              |    2 +-
ui/keymaps.c                                  |   13 +-
ui/spice-app.c                                |    2 +-
ui/vgafont.c                                  | 4616 +++++++++++++++++
ui/vnc-jobs.c                                 |   44 +-
ui/vnc.c                                      |   71 +-
{system => util}/datadir.c                    |    0
system/meson.build                            |    1 -
system/trace-events                           |    1 -
...{dbus-vmstate-daemon.sh => dbus-daemon.sh} |    0
tests/qtest/meson.build                       |    2 +-
ui/meson.build                                |    3 +-
util/meson.build                              |    1 +
util/trace-events                             |    3 +
25 files changed, 5113 insertions(+), 5033 deletions(-)
create mode 100644 ui/vgafont.c
rename {system => util}/datadir.c (100%)
rename tests/{dbus-vmstate-daemon.sh => dbus-daemon.sh} (100%)
[PULL 00/40] UI patches
Posted by marcandre.lureau@redhat.com 4 days, 5 hours ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

The following changes since commit 98b060da3a4f92b2a994ead5b16a87e783baf77c:

  Update version for v11.0.0 release (2026-04-21 16:28:47 +0100)

are available in the Git repository at:

  https://gitlab.com/marcandre.lureau/qemu.git tags/ui-pull-request

for you to fetch changes up to 4a36e9d6693806c02eae75db346bc6043abbfafc:

  tests: rename the dbus-daemon helper script (2026-04-22 12:54:24 +0400)

----------------------------------------------------------------
UI-related fixes and cleanups

----------------------------------------------------------------

GuoHan Zhao (3):
  ui/input-linux: close evdev fd when qemu_set_blocking fails
  ui/spice-app: detect runtime directory creation failures
  ui/clipboard: clear deferred serial reset flag on resume

Marc-André Lureau (36):
  ui/vnc-jobs: remove needless buffer_reset() before end
  ui/vnc: clarify intent using buffer_empty() function
  ui/vnc-jobs: vnc_has_job_locked() argument cannot be NULL
  ui/vnc-jobs: remove dead VncJobQueue.exit
  ui/vnc-jobs: remove vnc_queue_clear()
  ui/vnc-jobs: narrow taking the queue lock
  ui/vnc-jobs: drop redundant (and needless) qemu_thread_get_self()
  ui/console-vc: fix off-by-one in CSI J 2 (clear entire screen)
  ui/console-vc: ignore string-type escape sequences
  ui/console-vc: fix comment shift-out/in comments
  ui/console: dispatch get_label() through QOM virtual method
  ui/console-vc: introduce QemuVT100
  ui/console-vc: set vt100 associated pixman image
  ui/console-vc: vga_putcharxy()->vt100_putcharxy()
  ui/console-vc: make invalidate_xy() take vt100
  ui/console-vc: make show_cursor() take vt100
  ui/console-vc: decouple VT100 display updates via function pointer
  ui/console-vc: console_refresh() -> vt100_refresh()
  ui/console-vc: move cursor blinking logic into VT100 layer
  ui/console-vc: console_scroll() -> vt100_scroll()
  ui/console-vc: refactor text_console_resize() into vt100_set_image()
  ui/console-vc: move vc_put_lf() to VT100 layer as vt100_put_lf()
  ui/console-vc: unify the write path
  ui: avoid duplicating vgafont16 in each translation unit
  ui/vgafont: add SPDX license header
  util: move datadir.c from system/
  system: make qemu_del_vm_change_state_handler accept NULL
  ui/vnc: assert preconditions instead of silently returning
  ui/vnc: simplify vnc_init_func error handling
  ui/vnc: VncDisplay.id is not const
  ui/keymaps: introduce kbd_layout_free()
  ui/vnc: fix vnc_display_init() leak on failure
  ui/vnc: make vnc_disconnect_finish() private
  ui/vnc: remove left-over dead code
  ui/vnc: explicitly link with png
  tests: rename the dbus-daemon helper script

Werner de Carne (1):
  serial COM: windows serial COM PollingFunc don't sleep

 include/ui/console.h                          |    3 +-
 ui/console-priv.h                             |    3 +-
 ui/keymaps.h                                  |    1 +
 ui/vgafont.h                                  | 4616 +----------------
 ui/vnc.h                                      |    4 +-
 chardev/char-win.c                            |   16 +-
 system/runstate.c                             |    3 +
 ui/clipboard.c                                |    1 +
 ui/console-vc-stubs.c                         |    8 +-
 ui/console-vc.c                               |  612 ++-
 ui/console.c                                  |  120 +-
 ui/input-linux.c                              |    2 +-
 ui/keymaps.c                                  |   13 +-
 ui/spice-app.c                                |    2 +-
 ui/vgafont.c                                  | 4616 +++++++++++++++++
 ui/vnc-jobs.c                                 |   44 +-
 ui/vnc.c                                      |   71 +-
 {system => util}/datadir.c                    |    0
 system/meson.build                            |    1 -
 system/trace-events                           |    1 -
 ...{dbus-vmstate-daemon.sh => dbus-daemon.sh} |    0
 tests/qtest/meson.build                       |    2 +-
 ui/meson.build                                |    3 +-
 util/meson.build                              |    1 +
 util/trace-events                             |    3 +
 25 files changed, 5113 insertions(+), 5033 deletions(-)
 create mode 100644 ui/vgafont.c
 rename {system => util}/datadir.c (100%)
 rename tests/{dbus-vmstate-daemon.sh => dbus-daemon.sh} (100%)

-- 
2.53.0


Re: [PULL 00/40] UI patches
Posted by Michael Tokarev 2 days, 1 hour ago
On 22.04.2026 13:40, marcandre.lureau@redhat.com wrote:
...
> UI-related fixes and cleanups

> GuoHan Zhao (3):
>    ui/input-linux: close evdev fd when qemu_set_blocking fails
>    ui/spice-app: detect runtime directory creation failures
>    ui/clipboard: clear deferred serial reset flag on resume
> 
> Marc-André Lureau (36):
>    ui/vnc-jobs: remove needless buffer_reset() before end
>    ui/vnc: clarify intent using buffer_empty() function
>    ui/vnc-jobs: vnc_has_job_locked() argument cannot be NULL
>    ui/vnc-jobs: remove dead VncJobQueue.exit
>    ui/vnc-jobs: remove vnc_queue_clear()
>    ui/vnc-jobs: narrow taking the queue lock
>    ui/vnc-jobs: drop redundant (and needless) qemu_thread_get_self()
>    ui/console-vc: fix off-by-one in CSI J 2 (clear entire screen)
>    ui/console-vc: ignore string-type escape sequences
>    ui/console-vc: fix comment shift-out/in comments
>    ui/console: dispatch get_label() through QOM virtual method
>    ui/console-vc: introduce QemuVT100
>    ui/console-vc: set vt100 associated pixman image
>    ui/console-vc: vga_putcharxy()->vt100_putcharxy()
>    ui/console-vc: make invalidate_xy() take vt100
>    ui/console-vc: make show_cursor() take vt100
>    ui/console-vc: decouple VT100 display updates via function pointer
>    ui/console-vc: console_refresh() -> vt100_refresh()
>    ui/console-vc: move cursor blinking logic into VT100 layer
>    ui/console-vc: console_scroll() -> vt100_scroll()
>    ui/console-vc: refactor text_console_resize() into vt100_set_image()
>    ui/console-vc: move vc_put_lf() to VT100 layer as vt100_put_lf()
>    ui/console-vc: unify the write path
>    ui: avoid duplicating vgafont16 in each translation unit
>    ui/vgafont: add SPDX license header
>    util: move datadir.c from system/
>    system: make qemu_del_vm_change_state_handler accept NULL
>    ui/vnc: assert preconditions instead of silently returning
>    ui/vnc: simplify vnc_init_func error handling
>    ui/vnc: VncDisplay.id is not const
>    ui/keymaps: introduce kbd_layout_free()
>    ui/vnc: fix vnc_display_init() leak on failure
>    ui/vnc: make vnc_disconnect_finish() private
>    ui/vnc: remove left-over dead code
>    ui/vnc: explicitly link with png
>    tests: rename the dbus-daemon helper script
> 
> Werner de Carne (1):
>    serial COM: windows serial COM PollingFunc don't sleep

 From the above, I'm picking up:

     serial COM: windows serial COM PollingFunc don't sleep
     ui/spice-app: detect runtime directory creation failures
     ui/console-vc: fix off-by-one in CSI J 2 (clear entire screen)

for the stable series.

Please let me know if I should pick some other changes from here, or
the ones I already picked up, should not be in stable.

Thanks,

/mjt

Re: [PULL 00/40] UI patches
Posted by Stefan Hajnoczi 3 days, 15 hours ago
Applied, thanks.