<br><br><div class="gmail_quote">On Fri, Aug 10, 2012 at 4:45 PM, Eric Blake <span dir="ltr"><<a href="mailto:eblake@redhat.com" target="_blank">eblake@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 08/10/2012 05:31 PM, Harish Patil wrote:<br>
> Hi<br>
> I have both host and KVM/QEMU guest VM running linux.<br>
><br>
> Questions:<br>
> What are the constituents of the virsh dump?<br>
> -  What all areas does it dumps?<br>
<br>
</div>By default, it dumps in the same format needed to migrate a VM from one<br>
host to another.  As of 0.9.13 and new enough qemu (basically, a feature<br>
in qemu.git but not released until the upcoming qemu 1.2), you can also<br>
use 'virsh dump --memory-only' to force a dump to an ELF image instead.<br>
<div class="im"><br>
> -  Is it same as taking guest VM's core dump via kexec/kdump?<br>
<br>
</div>If you use the --memory-only option, then it is very similar (although<br>
the dump is performed without guest involvement).  If you want an actual<br>
kexec/kdump from the guest, then you'll have to have the guest create<br>
that; it may be worth requesting a qemu-ga guest agent command to<br>
trigger a guest to dump itself.<br></blockquote><div><br></div><div> [Harish] How can we achieve this and whom do we request for qemu-ga cmd ? How does it work? Thanks much for your answers.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><br>
> -  Does it include QEMU's info to debug qemu-level issues?<br>
<br>
</div>No, it is not a core dump of the qemu process itself.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Eric Blake   <a href="mailto:eblake@redhat.com">eblake@redhat.com</a>    <a href="tel:%2B1-919-301-3266" value="+19193013266">+1-919-301-3266</a><br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</font></span></blockquote></div><br>