[PATCH v5 0/7] chardev: postpone connect

Vladimir Sementsov-Ogievskiy posted 7 patches 1 week, 6 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251031155914.189112-1-vsementsov@yandex-team.ru
Maintainers: "Marc-André Lureau" <marcandre.lureau@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Eduardo Habkost <eduardo@habkost.net>
There is a newer version of this series
chardev/char-fe.c                   |  28 ++++++-
chardev/char-socket.c               |  64 ++++++++-------
chardev/char.c                      | 118 ++++++++++++++++++++--------
hw/core/qdev-properties-system.c    |  26 +++++-
include/chardev/char-fe.h           |   8 +-
include/chardev/char-socket.h       |   1 +
include/chardev/char.h              |  30 ++++++-
include/hw/qdev-properties-system.h |   3 +
tests/unit/test-char.c              |  14 ++--
ui/dbus-chardev.c                   |  12 ++-
10 files changed, 228 insertions(+), 76 deletions(-)
[PATCH v5 0/7] chardev: postpone connect
Posted by Vladimir Sementsov-Ogievskiy 1 week, 6 days ago
Hi all!

That's a preparation for backend-transfer migration of
vhost-user-blk, and introduced DEFINE_PROP_CHR_NO_CONNECT()
is unused now.

v3 of "vhost-user-blk: live-backend local migration" is coming
soon, and will be based on this series (and will use
DEFINE_PROP_CHR_NO_CONNECT of course).

changes in v5:
- rebase on master (conflicts due to be->fe renamings)
- tiny wording improvements in 05

Vladimir Sementsov-Ogievskiy (7):
  chardev/char-socket: simplify reconnect-ms handling
  chardev/char: split chardev_init_common() out of qemu_char_open()
  chardev/char: qemu_char_open(): add return value
  chardev/char: move filename and be_opened handling to qemu_char_open()
  chardev/char: introduce .init() + .connect() initialization interface
  chardev/char-socket: move to .init + .connect api
  chardev: introduce DEFINE_PROP_CHR_NO_CONNECT

 chardev/char-fe.c                   |  28 ++++++-
 chardev/char-socket.c               |  64 ++++++++-------
 chardev/char.c                      | 118 ++++++++++++++++++++--------
 hw/core/qdev-properties-system.c    |  26 +++++-
 include/chardev/char-fe.h           |   8 +-
 include/chardev/char-socket.h       |   1 +
 include/chardev/char.h              |  30 ++++++-
 include/hw/qdev-properties-system.h |   3 +
 tests/unit/test-char.c              |  14 ++--
 ui/dbus-chardev.c                   |  12 ++-
 10 files changed, 228 insertions(+), 76 deletions(-)

-- 
2.48.1