summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-03-13 11:33:47 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-01 16:01:19 -0700
commitce88fa67882ff2b1501e2a72a83e4eab638df711 (patch)
tree5892891040787a26be25cc511b8ed341d7aa9d4d /include
parent5cf5162132697541fe4de1290afaea4ed841473d (diff)
KVM: x86: Add KVM_CAP_X86_ROBUST_SINGLESTEP
Commit d2be1651b736002e0c76d7095d6c0ba77b4a897c upstream. This marks the guest single-step API improvement of 94fe45da and 91586a3b with a capability flag to allow reliable detection by user space. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index a24de0b1858e..553a3882a451 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -497,6 +497,7 @@ struct kvm_ioeventfd {
#endif
#define KVM_CAP_S390_PSW 42
#define KVM_CAP_PPC_SEGSTATE 43
+#define KVM_CAP_X86_ROBUST_SINGLESTEP 51
#ifdef KVM_CAP_IRQ_ROUTING