diff options
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | 2014-02-25 15:53:00 +0100 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2014-05-20 13:05:58 +0200 |
commit | b30f4dfbdaf353e580f8a834aeea6b96ac1c67c9 (patch) | |
tree | bab1d1518254724a3320ff2e56c3937dc524e14a /target-s390x/helper.c | |
parent | 8e4e86afa524588397be2101c3582c897fc408df (diff) |
s390x/kvm: software breakpoint support
This patch allows to insert and remove sw breakpoints using the QEMU gdbserver
on s390 as well as to interrupt execution on a breakpoint hit when running
with KVM enabled.
Whenever a software breakpoint is inserted, common code calls kvm ioctl
KVM_UPDATE_GUEST_DEBUG. As this method's default on s390 is to return an error
if not implement, the insertion will fail. Therefore, KVM also has to be
updated in order to make use of software breakpoints.
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'target-s390x/helper.c')
0 files changed, 0 insertions, 0 deletions