]> git.proxmox.com Git - mirror_qemu.git/commit
spapr: Enable in-kernel H_SET_MODE handling
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 8 Sep 2015 01:25:13 +0000 (11:25 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 23 Sep 2015 00:51:10 +0000 (10:51 +1000)
commitef9971dd69bdd84b0987b0e1e4f421223b080afd
tree8cb7f861ce81b0e3642b89ae6571d9959ea759cf
parent22419c2a90b859dcab49f9472259ad8a3ce091d6
spapr: Enable in-kernel H_SET_MODE handling

For setting debug watchpoints, sPAPR guests use H_SET_MODE hypercall.
The existing QEMU H_SET_MODE handler does not support this but
the KVM handler in HV KVM does. However it is not enabled.

This enables the in-kernel H_SET_MODE handler which handles:
- Completed Instruction Address Breakpoint Register
- Watch point 0 registers.

The rest is still handled in QEMU.

Reported-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c
target-ppc/kvm.c
target-ppc/kvm_ppc.h