Red Hat Bugzilla – Bug 1457740
[Tracing] compling qemu-kvm failed through systemtap
Last modified: 2017-08-02 00:41:00 EDT
Description of problem: compling qemu-kvm failed when executed "service systemtap start qemu_kvm" Version-Release number of selected component (if applicable): [root@localhost rhel]# rpm -qa |grep kernel-devel kernel-devel-3.10.0-675.el7.x86_64 [root@localhost rhel]# uname -r 3.10.0-675.el7.x86_64 [root@localhost rhel]# rpm -qa |grep qemu-kvm-rhev qemu-kvm-rhev-2.9.0-7.el7.x86_64 How reproducible: 3/3 Steps to Reproduce: 1. cp /usr/share/qemu-kvm/systemtap/script.d/qemu_kvm.stp /etc/systemtap/script.d/ 2. cp /usr/share/qemu-kvm/systemtap/conf.d/qemu_kvm.conf /etc/systemtap/conf.d/ Actual results: [root@localhost script.d]# service systemtap start qemu_kvm Starting systemtap: Compiling qemu_kvm ... error [FAILED] Expected results: complied success Additional info: [root@localhost script.d]# cat /etc/systemtap/script.d/qemu_kvm.stp probe qemu.kvm.simpletrace.handle_qmp_command,qemu.kvm.simpletrace.monitor_protocol_*,qemu.kvm.simpletrace.migrate_set_state {} [root@localhost script.d]# cat /etc/systemtap/conf.d/qemu_kvm.conf # Force load uprobes (see BZ#1118352) stap -e 'probe process("/usr/libexec/qemu-kvm").function("main") { printf("") }' -c true qemu_kvm_OPT="-s4" # per-CPU buffer size, in megabytes PS: compile successfully when deleted qemu.kvm.simpletrace.handle_qmp_command [root@localhost script.d]# cat qemu_kvm.stp probe qemu.kvm.simpletrace.monitor_protocol_*,qemu.kvm.simpletrace.migrate_set_state {}
handle_qmp_command was part of the functionality required by the flight recorder. I have sent the following patch upstream: [PATCH 0/2] monitor: add trace events for HMP and QMP commands Once it has been merged I will backport it and the flight recorder will work again.
If I understood the problem correctly, this is a regression in the flight recorder feature. Setting keyword, please correct if that's not the case.
(In reply to Stefan Hajnoczi from comment #2) > handle_qmp_command was part of the functionality required by the flight > recorder. I have sent the following patch upstream: > [PATCH 0/2] monitor: add trace events for HMP and QMP commands > > Once it has been merged I will backport it and the flight recorder will work > again. You've set it to POST, but I don't see the backport yet, reverting back to ASSIGNED.
The backport has been posted. I hope this can still make it into RHEL 7.4.
Fix included in qemu-kvm-rhev-2.9.0-12.el7
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:2392