diff options
author | Bharat Bhushan <bharat.bhushan@freescale.com> | 2013-04-08 00:32:18 (GMT) |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-04-17 21:27:00 (GMT) |
commit | f0b377d2942612158210b8d46f57ce16876c46d8 (patch) | |
tree | 99fccc1f19295209503edb84b3b2239a4b6bb15d /virt/kvm/kvm_main.c | |
parent | c86b102243a0b000bb7fef6373216e305b470947 (diff) | |
download | linux-fsl-qoriq-f0b377d2942612158210b8d46f57ce16876c46d8.tar.xz |
KVM: PPC: Add userspace debug stub support
This patch adds the debug stub support on booke/bookehv.
Now QEMU debug stub can use hw breakpoint, watchpoint and software
breakpoint to debug guest.
Debug registers are saved/restored on vcpu_put()/vcpu_get().
Also the debug registers are saved restored only if guest
is using debug resources.
Currently we do not support debug resource emulation to guest,
so always exit to user space irrespective of user space is expecting
the debug exception or not. This is unexpected event and let us
leave the action on user space. This is similar to what it was before,
only thing is that now we have proper exit state available to user space.
Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions