Give names to all GSources QEMU creates
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | io: add ability to set a name for IO channelsinclude/ io/ | +32 | 1 reply | |
| 2/6 | nbd: set name for all I/O channels createdblock/ blockdev-nbd.c nbd/ +1 more | +6 | 2 replies | |
| 3/6 | char: set name for all I/O channels createdqemu-char.c | +70 | 2 replies | |
| 4/6 | migration: set name for all I/O channels createdmigration/ migration/ migration/ +3 more | +15 | 1 reply | |
| 5/6 | vnc: set name for all I/O channels createdui/ ui/ ui/ | +11 | 1 reply | |
| 6/6 | main: set names for main loop sources createdmain-loop.c | +2 | 2 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Paolo Bonzini | Eric Blake | Stefan Hajnoczi |
|---|---|---|---|
| 1/6 | R-b | ||
| 2/6 | A-b | R-b | |
| 3/6 | A-b | R-b | |
| 4/6 | R-b | ||
| 5/6 | R-b | ||
| 6/6 | A-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.
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