projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b3d2a2
)
KVM: Advertise guest debug capability per-arch
author
Jan Kiszka
<jan.kiszka@siemens.com>
Fri, 19 Dec 2008 17:13:54 +0000
(18:13 +0100)
committer
Avi Kivity
<avi@redhat.com>
Tue, 24 Mar 2009 09:02:52 +0000
(11:02 +0200)
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>
Signed-off-by: Avi Kivity <avi@redhat.com>
include/linux/kvm.h
patch
|
blob
|
history
diff --git
a/include/linux/kvm.h
b/include/linux/kvm.h
index 28582fcd3f79807200bf6e4d19edebac1c39432a..11e3e6197c83c3191725ca815672ae6cadc4470d 100644
(file)
--- a/
include/linux/kvm.h
+++ b/
include/linux/kvm.h
@@
-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