aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r--virt/kvm/kvm_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 29a667ce35b0..f83ef9c7e89b 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -1755,13 +1755,13 @@ out_free2:
1755 r = 0; 1755 r = 0;
1756 break; 1756 break;
1757 } 1757 }
1758 case KVM_DEBUG_GUEST: { 1758 case KVM_SET_GUEST_DEBUG: {
1759 struct kvm_debug_guest dbg; 1759 struct kvm_guest_debug dbg;
1760 1760
1761 r = -EFAULT; 1761 r = -EFAULT;
1762 if (copy_from_user(&dbg, argp, sizeof dbg)) 1762 if (copy_from_user(&dbg, argp, sizeof dbg))
1763 goto out; 1763 goto out;
1764 r = kvm_arch_vcpu_ioctl_debug_guest(vcpu, &dbg); 1764 r = kvm_arch_vcpu_ioctl_set_guest_debug(vcpu, &dbg);
1765 if (r) 1765 if (r)
1766 goto out; 1766 goto out;
1767 r = 0; 1767 r = 0;