• Fabiano Rosas's avatar
    KVM: PPC: Report single stepping capability · 1a9167a2
    Fabiano Rosas authored
    When calling the KVM_SET_GUEST_DEBUG ioctl, userspace might request
    the next instruction to be single stepped via the
    KVM_GUESTDBG_SINGLESTEP control bit of the kvm_guest_debug structure.
    
    This patch adds the KVM_CAP_PPC_GUEST_DEBUG_SSTEP capability in order
    to inform userspace about the state of single stepping support.
    
    We currently don't have support for guest single stepping implemented
    in Book3S HV so the capability is only present for Book3S PR and
    BookE.
    Signed-off-by: default avatarFabiano Rosas <farosas@linux.ibm.com>
    Signed-off-by: default avatarPaul Mackerras <paulus@ozlabs.org>
    1a9167a2
powerpc.c 56 KB