diff options
author | Bharat Bhushan <r65777@freescale.com> | 2013-04-07 20:32:12 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-04-26 14:27:02 -0400 |
commit | 092d62ee93039bfccbb3a36c69d0c3ee0966a97a (patch) | |
tree | 700128dd56aa9cddbbae33017a24a3c5cf564e3d /arch/powerpc/kvm/booke.c | |
parent | adccf65ca431b41733483f476e8de9e3cf171c44 (diff) |
KVM: PPC: debug stub interface parameter defined
This patch defines the interface parameter for KVM_SET_GUEST_DEBUG
ioctl support. Follow up patches will use this for setting up
hardware breakpoints, watchpoints and software breakpoints.
Also kvm_arch_vcpu_ioctl_set_guest_debug() is brought one level below.
This is because I am not sure what is required for book3s. So this ioctl
behaviour will not change for book3s.
Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/booke.c')
-rw-r--r-- | arch/powerpc/kvm/booke.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index a49a68a25c39..a3e2db0cf2f9 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c | |||
@@ -1526,6 +1526,12 @@ int kvm_vcpu_ioctl_set_one_reg(struct kvm_vcpu *vcpu, struct kvm_one_reg *reg) | |||
1526 | return r; | 1526 | return r; |
1527 | } | 1527 | } |
1528 | 1528 | ||
1529 | int kvm_arch_vcpu_ioctl_set_guest_debug(struct kvm_vcpu *vcpu, | ||
1530 | struct kvm_guest_debug *dbg) | ||
1531 | { | ||
1532 | return -EINVAL; | ||
1533 | } | ||
1534 | |||
1529 | int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) | 1535 | int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) |
1530 | { | 1536 | { |
1531 | return -ENOTSUPP; | 1537 | return -ENOTSUPP; |