target-s390x: PER storage-alteration event support
commit311918b979c5364c30392c1054ed77d047a83953
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 12 Jun 2015 22:46:00 +0000 (13 00:46 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 17 Jun 2015 10:40:52 +0000 (17 12:40 +0200)
tree3ca255bed7666787a2bf045a26a696b4dab97b67
parent8d302e76755b8157373073d7107e31b0b13f80c1
target-s390x: PER storage-alteration event support

For the PER storage-alteration event we can use the QEMU watchpoint
infrastructure. When PER is enabled or PER control register changed we
enable the corresponding watchpoints. When a watchpoint arises we can
save the event. Unfortunately the current code does not provide the
address space used to trigger the watchpoint. For now we assume it comes
from the default ASC.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-s390x/cpu-qom.h
target-s390x/cpu.c
target-s390x/cpu.h
target-s390x/helper.c
target-s390x/mem_helper.c