KVM: Advertise guest debug capability per-arch
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.
Signed-off-by Jan Kiszka <[email protected]>
---
include/linux/kvm.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/kvm.h +2 -0
@@ -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
Avi Kivity
AppliedQuoted 4 lines · Jan Kiszka
Limit
KVM_CAP_SET_GUEST_DEBUGonly 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