This patchset add support for - software breakpoint - h/w breakpoint - h/w watchpoint Please find description in individual patch. v7->v8 - Decrement nip by 4 before calling ppc_cpu_do_interrupt() as pointed by "Madhavan Srinivasan" - Also added missing cpu_sync()
v6->v7 - Removed interrupt injection infrastructure - Simplified excp_vector initialization based on comment - Moved program check exception to software breakpoint patch v5->v6 - Added a new patch to synchronize excp_vectors. - Inject program exception rather than debug exception if guest is not able to handle debug exception. why? detail in respective patch. Bharat Bhushan (4): ppc: debug stub: Get trap instruction opcode from KVM ppc: synchronize excp_vectors for injecting exception ppc: Add software breakpoint support ppc: Add hw breakpoint watchpoint support target-ppc/kvm.c | 356 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 328 insertions(+), 28 deletions(-) -- 1.9.3