Bug 678618

Summary: gdbsx hypervisor part backport
Product: Red Hat Enterprise Linux 5 Reporter: Radim Krčmář <rkrcmar>
Component: kernel-xenAssignee: Radim Krčmář <rkrcmar>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 5.6CC: drjones, jzheng, mshao, phan, qcai, xen-maint, yuzhang
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-21 09:48:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 678571    
Bug Blocks: 679138    
Attachments:
Description Flags
gdbsx, hypervisor part
none
gdbsx, tool in hypervisor repo
none
gdbsx, tool in hypervisor repo v2
none
gdbsx, tool in hypervisor repo v2.1 none

Description Radim Krčmář 2011-02-18 15:56:32 UTC
Created attachment 479550 [details]
gdbsx, hypervisor part

From upstream revisions r18592, r18593, r20321 and r21288.

Makes TRAP_debug and TRAP_int3 useful.
Creates arch/x86/debug.c with debugging routines.
Adds four new XEN_DOMCTLs. (1000 gdbsx_guestmemio, 1001 gdbsx_pausevcpu, 1002 gdbsx_unpausevcpu and 1003 gdbsx_domstatus)

Comment 1 Radim Krčmář 2011-02-22 14:26:51 UTC
Created attachment 480143 [details]
gdbsx, tool in hypervisor repo

Moved the tool from userspace to hypervisor repo and added required headers from linux/xen.

Backported r20319.

Located in tools/gdbsx, compiled by default to avoid silent breakage, but not
included in any package, because only devs are going to use it. (might be in a
separate internal-only package in the future)
New rule "gdbsx" in / copying binary from /tools/gdbsx into /.

Notable changes:
gdbsx makefiles were significantly modified.
Fixed to compile on ia64.
Added example to readme.

Comment 2 Radim Krčmář 2011-02-22 16:15:03 UTC
Created attachment 480167 [details]
gdbsx, tool in hypervisor repo v2

Moved includes from include/linux to tools/gdbsx/xg/linux, as ia64 already used that directory. Modified makefile to reflect that.

Comment 3 Radim Krčmář 2011-02-22 16:40:28 UTC
Created attachment 480174 [details]
gdbsx, tool in hypervisor repo v2.1

The last patch was adding even the hypervisor part by mistake, fixed.

Comment 5 RHEL Program Management 2011-02-25 15:39:46 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 15 Jarod Wilson 2011-03-10 16:43:01 UTC
in kernel-2.6.18-247.el5
You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5

Detailed testing feedback is always welcomed.

Comment 17 Jinxin Zheng 2011-04-28 10:07:29 UTC
We checked the -257 code, confirming that the patches are inside.
Due to comment 9, setting this 'Verified:SanityOnly'.

Comment 18 errata-xmlrpc 2011-07-21 09:48:27 UTC
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-1065.html