[PATCH 0/2] qemu: add debug-threads support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



QEMU (somewhere around 2.0) added a new sub-option to the -name flag
-name debug-threads=on

This causes the naming of individual QEMU threads to be helpful; e.g.
 'CPU/KVM 0' or 'migration' these show up in top once the H key is
 pressed, and also show up in a core dump, making it easy to figure
 out which thread is which.

The following 2 patches add a capability check and a qemu-conf key to
enable debug-threads.

Related to:
https://bugzilla.redhat.com/show_bug.cgi?id=1140121

cheers

Marc-André Lureau (2):
  qemu: check for debug-threads capability
  qemu_conf: add set_debug_threads_name configuration key

 src/qemu/libvirtd_qemu.aug                   |  1 +
 src/qemu/qemu.conf                           |  6 ++++++
 src/qemu/qemu_capabilities.c                 |  2 ++
 src/qemu/qemu_capabilities.h                 |  1 +
 src/qemu/qemu_command.c                      | 14 ++++++++++----
 src/qemu/qemu_conf.c                         |  1 +
 src/qemu/qemu_conf.h                         |  1 +
 src/qemu/test_libvirtd_qemu.aug.in           |  1 +
 tests/qemucapabilitiesdata/caps_2.1.1-1.caps |  1 +
 tests/qemucapabilitiesdata/caps_2.4.0-1.caps |  1 +
 tests/qemucapabilitiesdata/caps_2.5.0-1.caps |  1 +
 tests/qemucapabilitiesdata/caps_2.6.0-1.caps |  1 +
 12 files changed, 27 insertions(+), 4 deletions(-)

-- 
2.5.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]