Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 234839 - Add a virsh "core-dump" command
Summary: Add a virsh "core-dump" command
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt
Version: 5.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Daniel Veillard
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-04-02 14:53 UTC by Chris Lalancette
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-04-02 20:45:40 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Chris Lalancette 2007-04-02 14:53:13 UTC
Description of problem:
It would be very helpful if libvirt, and virsh, supported a core-dump command
similar to xm.  For instance, you can run:

xm dump-core -C <dom>

to crash a domain and drop the core in /var/lib/xen/dump; virsh should be able
to do the same.  I believe that this is generally useful for virtualization,
even if only Xen currently has this capability.

Comment 2 Daniel Berrange 2007-04-02 20:45:40 UTC
Turns out this capability is already in GA:

# rpm -q libvirt

# virsh list
 Id Name                 State
  0 Domain-0             running
  3 demo                 blocked

# virsh dump demo /var/lib/xen/dump/demo.img
Domain demo dumpd to /var/lib/xen/dump/demo.img

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