|
Re: debug and breakpoint interrupts handling?: msg#00691emulators.kvm.devel
>I am wondering how KVM handles debug and breakpoint interrupt? Does it >process them like normal NMI interrupt, or is there any special >processing? > I haven't use it but KVM does support qemu'd gdbstub. Both single step and breakpoint are possible. From the source code (vmx.c) it seems like handle_exception function handle them as regular exceptions (non nmi). The breakpoint set path starts from gdbsutb.c-> exec.c: cpu_breakpoint_insert -> Qemu-kvm.c: kvm_update_debugger Call an ioctl from Kvmctl.c:kvm_guest_debug that runs Vmx.c:set_guest_debug HTH, Good luck, Dor. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: debug and breakpoint interrupts handling?: 00691, Dong, Eddie |
|---|---|
| Next by Date: | Re: debug and breakpoint interrupts handling?: 00691, Jun Koi |
| Previous by Thread: | Re: debug and breakpoint interrupts handling?i: 00691, Jun Koi |
| Next by Thread: | Re: debug and breakpoint interrupts handling?: 00691, Jun Koi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |