[PATCH v3 0/4] printing kvm vcpu exit reason as ausxstr with -e kvm=vcpu option

Masatake YAMATO yamato at redhat.com
Sat Jul 7 07:49:09 UTC 2018


This patch set is derived from https://github.com/strace/strace/tree/yamato/kvm-vcpu.
The original patches are mostly accepted except the command line interface. ldv wrote:

    I'm not quite happy with the interface, though.
    Could we think of something less cryptic than -K option?
    For example, -e kvm=verbose ?

After the discussion on list.strace.io, I introduce "-e kvm=vcpu"
instead of -K option.

Masatake YAMATO (4):
  mmap_cache: add customizable search function
  kvm: attach the exit reason of vcpu as auxstr to KVM_RUN output
  strace.1.in: document -e kvm=vcpu option
  tests: check decoding of vcpu auxstr

 defs.h                            |   9 +
 filter_qualify.c                  |  19 ++
 kvm.c                             | 221 ++++++++++++++++++++++-
 mmap_cache.c                      |  10 ++
 mmap_cache.h                      |   5 +
 strace.1.in                       |   5 +
 strace.c                          |  10 +-
 tests/.gitignore                  |   1 +
 tests/Makefile.am                 |   1 +
 tests/gen_tests.in                |   1 +
 tests/ioctl_kvm_run.c             | 266 +---------------------------
 tests/ioctl_kvm_run_auxstr_vcpu.c |  24 +++
 tests/ioctl_kvm_run_common.c      | 279 ++++++++++++++++++++++++++++++
 tests/pure_executables.list       |   1 +
 xlat/kvm_exit_reason.in           |  30 ++++
 15 files changed, 618 insertions(+), 264 deletions(-)
 create mode 100644 tests/ioctl_kvm_run_auxstr_vcpu.c
 create mode 100644 tests/ioctl_kvm_run_common.c
 create mode 100644 xlat/kvm_exit_reason.in

-- 
2.17.1



More information about the Strace-devel mailing list