Skip to content

Give names to all GSources QEMU creates

Daniel P. Berrange qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6io: add ability to set a name for IO channelsinclude/io/channel.h io/channel.c+32 -51 reply
2/6nbd: set name for all I/O channels createdblock/nbd.c blockdev-nbd.c nbd/client.c +1 more+6 -02 replies
3/6char: set name for all I/O channels createdqemu-char.c+70 -72 replies
4/6migration: set name for all I/O channels createdmigration/exec.c migration/fd.c migration/migration.c +3 more+15 -01 reply
5/6vnc: set name for all I/O channels createdui/vnc-auth-vencrypt.c ui/vnc-ws.c ui/vnc.c+11 -01 reply
6/6main: set names for main loop sources createdmain-loop.c+2 -02 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchPaolo BonziniEric BlakeStefan Hajnoczi
1/6R-b
2/6A-b R-b
3/6A-b R-b
4/6R-b
5/6R-b
6/6A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/6] Give names to all GSources QEMU creates

This trivial series of patches gives names to all the GSource instances that QEMU creates. These names are useful when debugging QEMU main loop problems, as they are emitted with GLib's built-in userspace probes for event loop dispatch.

NB, all QEMU level AIO handlers and IO handlers get hidden behind 2 global GSource objects, which means data from those 2 GSource's is not particularly useful. Mostly this series helps with anything backed by a QIOChannel object, and a few other misc bits of the chardev code.

Addressing AIO problems requires giving names to the QEMU level objects associated with these, which I'm not attempting - I just wanted to fix the GSource stuff used with QIOChannel here. I'll leave it to Prashanth to look at naming of the QEMU specific event loop sources.

Daniel P. Berrange (6):
io: add ability to set a name for IO channels
nbd: set name for all I/O channels created
char: set name for all I/O channels created
migration: set name for all I/O channels created
vnc: set name for all I/O channels created
main: set names for main loop sources created

 block/nbd.c            |  1 +
 blockdev-nbd.c         |  3 ++
 include/io/channel.h   | 13 +++++++++
 io/channel.c           | 24 ++++++++++++----
 main-loop.c            |  2 ++
 migration/exec.c       |  2 ++
 migration/fd.c         |  2 ++
 migration/migration.c  |  1 +
 migration/savevm.c     |  3 ++
 migration/socket.c     |  5 ++++
 migration/tls.c        |  2 ++
 nbd/client.c           |  1 +
 nbd/server.c           |  1 +
 qemu-char.c            | 77 +++++++++++++++++++++++++++++++++++++++++++++-----
 ui/vnc-auth-vencrypt.c |  1 +
 ui/vnc-ws.c            |  3 ++
 ui/vnc.c               |  7 +++++
 17 files changed, 136 insertions(+), 12 deletions(-)
Signature · 1 line
2.7.4