Skip to contentSkip to conversation

KVM: Advertise guest debug capability per-arch

PATCH Applied Jan Kiszka 2 participants 2 messages Dec 19, 2008 – Dec 24, 2008 KVM

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 KVM: Advertise guest debug capability per-arch

Limit KVM_CAP_SET_GUEST_DEBUG only to those archs (currently x86) that support it. This simplifies user space stub implementations.

---

 include/linux/kvm.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/kvm.h +2 -0
index 95a905f..c4f0d98 100644
@@ -393,7 +393,9 @@ struct kvm_trace_rec {
 #if defined(CONFIG_X86)
 #define KVM_CAP_USER_NMI 22
 #endif
+#if defined(CONFIG_X86)
 #define KVM_CAP_SET_GUEST_DEBUG 23
+#endif
 
 /*
  * ioctls for VM fds
Applied
#1 lore raw
Quoted 4 lines · Jan Kiszka

Limit KVM_CAP_SET_GUEST_DEBUG only to those archs (currently x86) that support it. This simplifies user space stub implementations.

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function