Bug 234839 - Add a virsh "core-dump" command
Add a virsh "core-dump" command
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Veillard
Depends On:
  Show dependency treegraph
Reported: 2007-04-02 10:53 EDT by Chris Lalancette
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-02 16:45:40 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 Chris Lalancette 2007-04-02 10:53:13 EDT
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 16:45:40 EDT
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.