Re: get backtrace of KVM VM from host

2018-05-22 Thread Justin Cinkelj
Something like that was suggested at KVM devel list too. I was able to get an useful backtrace for a trivial VM (a single ELF file, VM code runs directly from (virtual) physical memory). Well, that was more to learn a bit about elfutils than anything else. A more realistic VM will be more diffi

Re: get backtrace of KVM VM from host

2018-05-22 Thread Mark Wielaard
Hi, On Mon, 2018-05-21 at 10:26 +0200, Justin Cinkelj wrote: > Is it possible to get stack backtrace into KVM VM from the host side? > So  > if I run './stack -p PID' (stack from elfutilfs  > https://sourceware.org/elfutils/), I get backtrace of some process. I  > would like to do the same for VM.

get backtrace of KVM VM from host

2018-05-21 Thread Justin Cinkelj
(crossposting from KVM maillist) Hi Is it possible to get stack backtrace into KVM VM from the host side? So if I run './stack -p PID' (stack from elfutilfs https://sourceware.org/elfutils/), I get backtrace of some process. I would like to do the same for VM. I can assume VM will run only a