From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6cOT-0002jw-U2 for qemu-devel@nongnu.org; Mon, 14 Jul 2014 05:18:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X6cOL-0001O2-Hi for qemu-devel@nongnu.org; Mon, 14 Jul 2014 05:17:57 -0400 From: Bharat Bhushan Date: Mon, 14 Jul 2014 14:45:34 +0530 Message-ID: <1405329338-10206-1-git-send-email-Bharat.Bhushan@freescale.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH 0/4 v8] ppc: Add debug stub support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: agraf@suse.de Cc: Bharat Bhushan , maddy@linux.vnet.ibm.com, qemu-ppc@nongnu.org, qemu-devel@nongnu.org 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