KVM: Advertise guest debug capability per-arch
[safe/jmp/linux-2.6] / include / linux / kvm.h
index 28582fc..11e3e61 100644 (file)
@@ -393,7 +393,9 @@ struct kvm_trace_rec {
 #ifdef __KVM_HAVE_USER_NMI
 #define KVM_CAP_USER_NMI 22
 #endif
+#if defined(CONFIG_X86)
 #define KVM_CAP_SET_GUEST_DEBUG 23
+#endif
 
 /*
  * ioctls for VM fds