Bug 1269909

Summary: RFE: Implement dump-guest-memory in qemu-system-aarch64
Product: Red Hat Enterprise Linux 7 Reporter: Richard W.M. Jones <rjones>
Component: qemu-kvm-rhevAssignee: Andrew Jones <drjones>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: chayang, drjones, juzhang, michen, virt-maint
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: aarch64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-21 14:51:47 UTC Type: Bug
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:    
Bug Blocks: 1173755    

Description Richard W.M. Jones 2015-10-08 13:16:18 UTC
Description of problem:

It's not possible to use the 'virsh dump --memory-only' option on
aarch64 at the moment.  It seems to rely on a qemu feature which is
not implemented (even upstream) on aarch64:

$ virsh dump --memory-only guestfs-b1rs92hpq4izkpvi /tmp/guestfs-b1rs92hpq4izkpvi.core
error: Failed to core dump domain guestfs-b1rs92hpq4izkpvi to
/tmp/guestfs-b1rs92hpq4izkpvi.core
error: internal error: unable to execute QEMU command 'dump-guest-memory': this
feature or command is not currently supported

It would be nice to have this on aarch64, since it's the recommended
way to collect a debugging core dump for Linux guest kernels which
have crashed.  (An alternative is to use kdump in the guest, but that
requires prior setup).

Version-Release number of selected component (if applicable):

I tested this in Rawhide:
qemu-2.4.0-2.fc24.aarch64

IIUC, the problem is that the function 'cpu_get_dump_info' is not
implemented for aarch64 (only for x86, ppc and s390x so far).

Comment 1 Andrew Jones 2016-01-21 14:51:47 UTC

*** This bug has been marked as a duplicate of bug 1299867 ***