Another suggestion: would anyone be interested in adding a 'kvm debug' command
that does the kill -3 magic?
Initially it could be something very simple like:
int cmd_debug()
{
system("kill -3 $(pidof kvm)");
}
:-)
as i always have to remember this seque
* Pekka Enberg wrote:
> To make debugging easier, look up symbol from guest kernel image based on RIP
> when user does 'kill -3' to the hypervisor.
>
> Example output looks as follows:
>
> Code:
> -
> rip: [] delay_loop+30
> (/home/penberg/linux/arch/x86/lib/delay.c:32)
Hm, it does
On 05/12/2011 12:09 AM, Pekka Enberg wrote:
> To make debugging easier, look up symbol from guest kernel image based on RIP
> when user does 'kill -3' to the hypervisor.
>
> Example output looks as follows:
>
FWIW, works pretty well for me. Probably we need some -e option for vmlinux
path in fu
To make debugging easier, look up symbol from guest kernel image based on RIP
when user does 'kill -3' to the hypervisor.
Example output looks as follows:
Code:
-
rip: [] delay_loop+30
(/home/penberg/linux/arch/x86/lib/delay.c:32)
Cc: Asias He
Cc: Avi Kivity
Cc: Cyrill Gorcunov
Cc: