On 06/14/2016 12:16 PM, Denis V. Lunev wrote:
Changes from v4:
- synced help descriprion for --trace with man for qemu.1/qemu-img.1/qemu-nbd.8
- moved @findex from qemu-option-trace.texi
Changes from v3:
- fixed difference in help/man for qemu-img/qemu-nbd
- created separate .texi to contain trace description, proper dependency is
added to makefile
- added --version/--help description to qemu-img
- fixed crash induced by new option processing scheme in qemu-img which
has happened when invoked as './qemu-img -K'
Changes from v2:
- tweaked man-pages of qemu-nbd/qemu-img
- added support for qemu-img (patches 4-5 as suggested)
Changes from v1:
- fixed nits found by Eric
Signed-off-by: Denis V. Lunev <d...@openvz.org>
CC: Eric Blake <ebl...@redhat.com>
CC: Paolo Bonzini <pbonz...@redhat.com>
CC: Stefan Hajnoczi <stefa...@redhat.com>
CC: Kevin Wolf <kw...@redhat.com>
Denis V. Lunev (7):
doc: move text describing --trace to specific .texi file
doc: sync help descriprion for --trace with man for qemu.1
trace: move qemu_trace_opts to trace/control.c
trace: enable tracing in qemu-io
trace: enable tracing in qemu-nbd
qemu-img: move common options parsing before commands processing
trace: enable tracing in qemu-img
Makefile | 7 ++++---
qemu-img.c | 55 ++++++++++++++++++++++++++++++++++++++------------
qemu-img.texi | 13 +++++++++++-
qemu-io.c | 17 ++++++++++++----
qemu-nbd.c | 18 ++++++++++++++++-
qemu-nbd.texi | 3 +++
qemu-option-trace.texi | 25 +++++++++++++++++++++++
qemu-options.hx | 29 ++------------------------
trace/control.c | 44 +++++++++++++++++++++++++++++++++++++++-
trace/control.h | 24 ++++++++++++----------
vl.c | 37 +--------------------------------
11 files changed, 175 insertions(+), 97 deletions(-)
create mode 100644 qemu-option-trace.texi
pls ignore