qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/5 v5] ppc: Add debug stub support


From: Bharat Bhushan
Subject: [Qemu-devel] [PATCH 0/5 v5] ppc: Add debug stub support
Date: Thu, 26 Jun 2014 12:53:03 +0530

This patchset add support for
 - software breakpoint
 - h/w breakpoint
 - h/w watchpoint

Please find description in individual patch.

v4->v5
 - cleanup in kvmppc_hw_debug_points_init()
 - replaced assert in kvm_arch_insert_hw_breakpoint() with return.
   This allows gdb to through warning "You may have requested too many
   hardware breakpoints/watchpoints.". Now user can remove extra breakpint
   and continue.

v3->v4
 - remove hardcoding for size of instruction in software breakpoint
 - remove unnecessary assert in debug handler
 - Corrected assert comparison in insert_breakpoint()

v2->v3
 - Sharing of code for book3s support (which may come in future)
 - Initializing number of hw breakpoint/watchpoints from KVM world
 - Other minor cleanup/fixes

v1->v2:
 - use kvm_get_one_reg() for getting trap instruction
 - factored out e500 specific code based on exception model POWERPC_EXCP_BOOKE.
 - Not supporting ppc440


Bharat Bhushan (5):
  ppc: debug stub: Get trap instruction opcode from KVM
  ppc: Add interface to inject interrupt to guest
  ppc: Add debug interrupt injection handler
  ppc: Add software breakpoint support
  ppc: Add hw breakpoint watchpoint support

 target-ppc/kvm.c | 384 +++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 356 insertions(+), 28 deletions(-)

-- 
1.9.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]