Hi all, I have a small question regarding virDomainCoreDump. In the documentation[1] it is stated that the output is of format RAW. After implementing a function using this command the output file format that I see is ELF. I understand those formats are different, so is the documentation not updated? Is there a reason I will get an ELF format instead of RAW? Appreciate your help! [1] https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainCoreDumpWithFormat -- Shelly Kagan Senior Software Engineer Red Hat <https://www.redhat.com> <https://www.redhat.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20220323/6831613f/attachment.htm>
On 3/23/22 14:19, Shelly Kagan wrote:> Hi all, > I have a small question regarding?virDomainCoreDump. > In the documentation[1] it is stated that the output is of format RAW. > After implementing?a function using this command the output file > format?that I see is ELF. I understand those formats are different, so > is the documentation not updated? Is there a reason I will get an ELF > format instead of RAW? > Appreciate your help!Hey, I believe that what you see is expected. If you'd dump memory of any process you'll get ELF. QEMU is no exception as guest memory is in fact QEMU's memory too. RAW is abstraction because other hypervisors (that are not ELF based) can provide different formats. Michal