* [PATCH] KVM: Advertise guest debug capability per-arch
@ 2008-12-19 17:13 Jan Kiszka
2008-12-24 11:47 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2008-12-19 17:13 UTC (permalink / raw)
To: kvm-devel; +Cc: Avi Kivity
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 <jan.kiszka@siemens.com>
---
include/linux/kvm.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 95a905f..c4f0d98 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-24 11:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-19 17:13 [PATCH] KVM: Advertise guest debug capability per-arch Jan Kiszka
2008-12-24 11:47 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox