qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/10] chardev: cleanup
@ 2025-12-04 15:42 Vladimir Sementsov-Ogievskiy
  2025-12-04 15:42 ` [PATCH v2 01/10] ui/spice: Require spice-server >= 0.15.0 Vladimir Sementsov-Ogievskiy
                   ` (10 more replies)
  0 siblings, 11 replies; 23+ messages in thread
From: Vladimir Sementsov-Ogievskiy @ 2025-12-04 15:42 UTC (permalink / raw)
  To: marcandre.lureau; +Cc: pbonzini, qemu-devel, vsementsov, d-tatianin

Hi all.

Here is a cleanup for chardev code:

 - preparation patches to drop spice version checks
 - improve naming
 - add boolean return for some errp-functions
 - simplify open() API

v2:
01-02: new
04: add r-b by Philippe
05: rebase on 01, fix typo in commit msg
06: rebase on 01, add r-b by Philippe
10: tiny refactor of qemu_char_open and r-b by Philippe

Vladimir Sementsov-Ogievskiy (10):
  ui/spice: Require spice-server >= 0.15.0
  ui/spice: drop SPICE_HAS_ATTACHED_WORKER macro
  chardev: ChardevClass: consistent naming for handlers
  chardev: consistent naming for ChardevClass handlers implementations
  chardev: .chr_open(): drop be_opened parameter
  chardev: .chr_open(): add boolean return value
  chardev/char-pty: store pty_name into PtyChardev state
  chardev: introduce .chr_get_pty_name() handler
  chardev: rework filename handling
  chardev/char: qemu_char_open(): add return value

 chardev/baum.c                                | 12 ++--
 chardev/char-console.c                        | 10 ++--
 chardev/char-fe.c                             |  8 +--
 chardev/char-file.c                           | 26 ++++----
 chardev/char-hub.c                            | 27 ++++-----
 chardev/char-mux.c                            | 30 ++++++----
 chardev/char-null.c                           |  9 +--
 chardev/char-parallel.c                       | 41 ++++++-------
 chardev/char-pipe.c                           | 30 +++++-----
 chardev/char-pty.c                            | 52 ++++++++--------
 chardev/char-ringbuf.c                        | 20 ++++---
 chardev/char-serial.c                         | 39 ++++++------
 chardev/char-socket.c                         | 59 +++++++++----------
 chardev/char-stdio.c                          | 30 +++++-----
 chardev/char-udp.c                            | 16 ++---
 chardev/char-win-stdio.c                      | 25 ++++----
 chardev/char.c                                | 51 ++++++++--------
 chardev/msmouse.c                             | 13 ++--
 chardev/spice.c                               | 52 +++++++---------
 chardev/wctablet.c                            | 10 ++--
 gdbstub/system.c                              | 12 ++--
 hw/char/xen_console.c                         |  7 ++-
 hw/display/qxl.c                              | 23 +-------
 hw/misc/ivshmem-pci.c                         |  4 +-
 include/chardev/char.h                        | 37 +++++++++---
 include/ui/qemu-spice.h                       |  6 --
 meson.build                                   |  2 +-
 .../codeconverter/test_regexps.py             |  2 +-
 ui/console-vc.c                               | 12 ++--
 ui/dbus-chardev.c                             | 16 +++--
 ui/dbus.c                                     |  4 +-
 ui/gtk.c                                      | 14 ++---
 ui/spice-app.c                                | 18 +++---
 ui/spice-display.c                            | 19 +-----
 ui/vdagent.c                                  | 17 +++---
 35 files changed, 356 insertions(+), 397 deletions(-)

-- 
2.48.1



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

end of thread, other threads:[~2025-12-05 21:04 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-04 15:42 [PATCH v2 00/10] chardev: cleanup Vladimir Sementsov-Ogievskiy
2025-12-04 15:42 ` [PATCH v2 01/10] ui/spice: Require spice-server >= 0.15.0 Vladimir Sementsov-Ogievskiy
2025-12-05 15:09   ` Marc-André Lureau
2025-12-04 15:42 ` [PATCH v2 02/10] ui/spice: drop SPICE_HAS_ATTACHED_WORKER macro Vladimir Sementsov-Ogievskiy
2025-12-05 15:09   ` Marc-André Lureau
2025-12-04 15:42 ` [PATCH v2 03/10] chardev: ChardevClass: consistent naming for handlers Vladimir Sementsov-Ogievskiy
2025-12-05 15:11   ` Marc-André Lureau
2025-12-04 15:42 ` [PATCH v2 04/10] chardev: consistent naming for ChardevClass handlers implementations Vladimir Sementsov-Ogievskiy
2025-12-04 15:42 ` [PATCH v2 05/10] chardev: .chr_open(): drop be_opened parameter Vladimir Sementsov-Ogievskiy
2025-12-05 15:14   ` Marc-André Lureau
2025-12-04 15:42 ` [PATCH v2 06/10] chardev: .chr_open(): add boolean return value Vladimir Sementsov-Ogievskiy
2025-12-05 15:15   ` Marc-André Lureau
2025-12-05 15:18   ` Marc-André Lureau
2025-12-04 15:42 ` [PATCH v2 07/10] chardev/char-pty: store pty_name into PtyChardev state Vladimir Sementsov-Ogievskiy
2025-12-05 15:20   ` Marc-André Lureau
2025-12-04 15:42 ` [PATCH v2 08/10] chardev: introduce .chr_get_pty_name() handler Vladimir Sementsov-Ogievskiy
2025-12-05 15:24   ` Marc-André Lureau
2025-12-04 15:42 ` [PATCH v2 09/10] chardev: rework filename handling Vladimir Sementsov-Ogievskiy
2025-12-05 15:33   ` Marc-André Lureau
2025-12-05 21:03     ` Vladimir Sementsov-Ogievskiy
2025-12-04 15:42 ` [PATCH v2 10/10] chardev/char: qemu_char_open(): add return value Vladimir Sementsov-Ogievskiy
2025-12-05 15:34   ` Marc-André Lureau
2025-12-04 17:14 ` [PATCH v2 00/10] chardev: cleanup Vladimir Sementsov-Ogievskiy

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).