qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/6] Give names to all GSources QEMU creates
@ 2016-09-30 15:16 Daniel P. Berrange
  2016-09-30 15:16 ` [Qemu-devel] [PATCH 1/6] io: add ability to set a name for IO channels Daniel P. Berrange
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Daniel P. Berrange @ 2016-09-30 15:16 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Hajnoczi, prashanth sunder, Daniel P. Berrange

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

-- 
2.7.4

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

end of thread, other threads:[~2016-10-03 15:19 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-30 15:16 [Qemu-devel] [PATCH 0/6] Give names to all GSources QEMU creates Daniel P. Berrange
2016-09-30 15:16 ` [Qemu-devel] [PATCH 1/6] io: add ability to set a name for IO channels Daniel P. Berrange
2016-09-30 18:41   ` Eric Blake
2016-09-30 15:16 ` [Qemu-devel] [PATCH 2/6] nbd: set name for all I/O channels created Daniel P. Berrange
2016-09-30 16:12   ` Paolo Bonzini
2016-10-03 15:15   ` Stefan Hajnoczi
2016-09-30 15:16 ` [Qemu-devel] [PATCH 3/6] char: " Daniel P. Berrange
2016-09-30 16:12   ` Paolo Bonzini
2016-10-03 15:18   ` Stefan Hajnoczi
2016-09-30 15:16 ` [Qemu-devel] [PATCH 4/6] migration: " Daniel P. Berrange
2016-10-03 15:18   ` Stefan Hajnoczi
2016-09-30 15:16 ` [Qemu-devel] [PATCH 5/6] vnc: " Daniel P. Berrange
2016-10-03 15:19   ` Stefan Hajnoczi
2016-09-30 15:17 ` [Qemu-devel] [PATCH 6/6] main: set names for main loop sources created Daniel P. Berrange
2016-09-30 16:13   ` Paolo Bonzini
2016-10-03 15:19   ` Stefan Hajnoczi

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