Bug 504374 - kvm: hw DR_* watchpoint registers are ignored
kvm: hw DR_* watchpoint registers are ignored
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Kernel Maintainer List
Fedora Extras Quality Assurance
Depends On:
Blocks: F12VirtTarget
  Show dependency treegraph
Reported: 2009-06-05 16:33 EDT by Jan Kratochvil
Modified: 2009-06-08 10:28 EDT (History)
11 users (show)

See Also:
Fixed In Version: kernel-2.6.30-0.97.rc8.fc12.x86_64
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-06-08 10:28:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan Kratochvil 2009-06-05 16:33:53 EDT
Description of problem:
GDB watchpoints do not work.  There is a standalone testcase for it.

Version-Release number of selected component (if applicable):
longterm, it never worked, verified on:
kernel- (both as KVM host and guest)

How reproducible:

Steps to Reproduce:
wget -q -O watchpoint.c 'http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/tests/ptrace-tests/tests/watchpoint.c?cvsroot=systemtap'; gcc -Wall -g -o watchpoint watchpoint.c; ./watchpoint; echo $?

Actual results:

Expected results:

Additional info:
Return code 2 means the testcase missed the watchpoint to be hit.
Comment 1 Mark McLoughlin 2009-06-08 07:54:27 EDT
Could you re-test with 2.6.30 from rawhide?

This was merged in 2.6.30-rc1:

Comment 2 Jan Kratochvil 2009-06-08 10:28:31 EDT
Tested this version-in-KVM-on-version and it is now already working, thanks for the pointer:

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