aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/cpu-qom.h
diff options
context:
space:
mode:
authorBharat Bhushan <Bharat.Bhushan@freescale.com>2014-07-14 14:45:38 +0530
committerAlexander Graf <agraf@suse.de>2014-09-08 12:50:49 +0200
commit8a0548f94edecb96acb9b7fb9106ccc821c4996f (patch)
tree2444f27568bae8b35f65be13588aae4ddd7ccfbe /target-ppc/cpu-qom.h
parentc371c2e3e0d7ad979dc2bb9763223287fabdcc24 (diff)
ppc: Add software breakpoint support
This patch allow insert/remove software breakpoint. When QEMU is not able to handle debug exception then we inject program exception to guest because for software breakpoint QEMU uses a ehpriv-1 instruction; So there cannot be any reason that we are in qemu with exit reason KVM_EXIT_DEBUG for guest set debug exception, only possibility is guest executed ehpriv-1 privilege instruction and that's why we are injecting program exception. Signed-off-by: Bharat Bhushan <Bharat.Bhushan@freescale.com> [agraf: make deflect comment booke/book3s agnostic] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/cpu-qom.h')
0 files changed, 0 insertions, 0 deletions