Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 672441 - Tracetool autogenerate qemu-kvm.stp with wrong qemu-kvm path
Tracetool autogenerate qemu-kvm.stp with wrong qemu-kvm path
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm (Show other bugs)
6.1
x86_64 Linux
high Severity high
: rc
: ---
Assigned To: Jes Sorensen
Virtualization Bugs
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-25 00:11 EST by Mike Cao
Modified: 2013-01-09 18:31 EST (History)
8 users (show)

See Also:
Fixed In Version: qemu-kvm-0.12.1.2-2.147.el6
Doc Type: Bug Fix
Doc Text:
This is a fix to a problem introduced in an interim RHEL6.1 patch backport. It is not a regression from 6.0 and not customer exposed.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-05-19 07:26:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0534 normal SHIPPED_LIVE Important: qemu-kvm security, bug fix, and enhancement update 2011-05-19 07:20:36 EDT

  None (edit)
Description Mike Cao 2011-01-25 00:11:06 EST
Description of problem:
I saw tracetool regards the path of qemu-kvm as /usr/bin instead of /usr/libexec in 
/usr/share/systemtap/tapset/qemu-kvm.stp 
When I exec stp script call the tracepoint ,there is no output
eg:
probe qemu.kvm.qemu_memalign
{
	printf("qemu_memalign alignment=%d ,size=%d ,ptr=%p\n",alignment,size,ptr)
}

we need to change it to the right path.


Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.131.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.cat qemu-kvm.stp |grep probe

  
Actual results:
probe qemu.kvm.qemu_malloc = process("/usr/bin/qemu-kvm").mark("qemu_malloc")
probe qemu.kvm.qemu_realloc = process("/usr/bin/qemu-kvm").mark("qemu_realloc")
probe qemu.kvm.qemu_free = process("/usr/bin/qemu-kvm").mark("qemu_free")
.....


Expected results:
all the /usr/bin/qemu-kvm should change to /usr/libexec/qemu-kvm
eg.
probe qemu.kvm.qemu_malloc = process("/usr/libexec/qemu-kvm").mark("qemu_malloc")
probe qemu.kvm.qemu_realloc = process("/usr/libexec/qemu-kvm").mark("qemu_realloc")
probe qemu.kvm.qemu_free = process("/usr/libexec/qemu-kvm").mark("qemu_free"


Additional info:
Comment 5 Mike Cao 2011-02-14 00:23:29 EST
Tried on qemu-kvm-0.12.1.2-2.144.el6

Path changed to /usr/libexec/qemu-kvm in qemu-kvm.stp.

bcao--->jes
# cat /usr/share/systemtap/tapset/qemu-kvm.stp|grep probe
probe qemu.system.x86_64.qemu_malloc
probe qemu.system.x86_64.qemu_realloc
....

Why use "qemu.system.x86_64.XXX" instead of "probe qemu.kvm.XXXX" ?
Is it made by design or a regression ?

Mike
Comment 6 Jes Sorensen 2011-02-14 08:44:28 EST
This is an additional bug related to the fix I posted with the patches
here.

I should have caught it when I posted the initial patch, but I only
looked at the path :(

I'll look into fixing this.
Comment 9 Mike Cao 2011-02-21 00:34:05 EST
Verified on qemu-kvm-0.12.1.2-2.147.el6

Repeat the steps in comment #0.

Actual Results:
Path changed to /usr/libexec/qemu-kvm in qemu-kvm.stp.
"qemu.kvm.XXX" was used instead of "qemu.system.x86_64.XXX"


Based on above ,this issue has been fixed.
Comment 11 Miya Chen 2011-03-09 20:55:36 EST
move to verified based on comment#9
Comment 12 Jes Sorensen 2011-05-05 13:27:23 EDT
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
This is a fix to a problem introduced in an interim RHEL6.1 patch backport. It is not a regression from 6.0 and not customer exposed.
Comment 13 errata-xmlrpc 2011-05-19 07:26:36 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html
Comment 14 errata-xmlrpc 2011-05-19 09:01:21 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html

Note You need to log in before you can comment on or make changes to this bug.