strace/tests/ioctl_kvm_run-v.c
Pierre Marsais ba9d45c374 tests: check verbose decoding of kvm ioctl
* tests/ioctl_kvm_run-v.c: New file.
* tests/ioctl_kvm_run.c: Include xlat.h and xlat/kvm_cpuid_flags.h.
(print_kvm_segment, print_kvm_sregs, print_kvm_regs): New functions.
(run_kvm): Use them.
(print_cpuid_ioctl) [VERBOSE]: Print verbose ioctl decoding.
* tests/gen_tests.in (ioctl_kvm_run-v): New entry.
* tests/pure_executables.list: Add ioctl_kvm_run-v.
* tests/.gitignore: Likewise.

Signed-off-by: Pierre Marsais <pierre.marsais@lse.epita.fr>
2018-07-07 10:29:02 +00:00

3 lines
45 B
C

#define VERBOSE 1
#include "ioctl_kvm_run.c"