OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
KVM: Add a special exit reason when exiting due to an interrupt
[sagit-ice-cold/kernel_xiaomi_msm8998.git]
/
include
/
linux
/
kvm.h
diff --git
a/include/linux/kvm.h
b/include/linux/kvm.h
index
57f47ef
..
b3af92e
100644
(file)
--- a/
include/linux/kvm.h
+++ b/
include/linux/kvm.h
@@
-11,7
+11,7
@@
#include <asm/types.h>
#include <linux/ioctl.h>
#include <asm/types.h>
#include <linux/ioctl.h>
-#define KVM_API_VERSION
8
+#define KVM_API_VERSION
9
/*
* Architectural interrupt line count, and the size of the bitmap needed
/*
* Architectural interrupt line count, and the size of the bitmap needed
@@
-45,6
+45,7
@@
enum kvm_exit_reason {
KVM_EXIT_IRQ_WINDOW_OPEN = 7,
KVM_EXIT_SHUTDOWN = 8,
KVM_EXIT_FAIL_ENTRY = 9,
KVM_EXIT_IRQ_WINDOW_OPEN = 7,
KVM_EXIT_SHUTDOWN = 8,
KVM_EXIT_FAIL_ENTRY = 9,
+ KVM_EXIT_INTR = 10,
};
/* for KVM_RUN, returned by mmap(vcpu_fd, offset=0) */
};
/* for KVM_RUN, returned by mmap(vcpu_fd, offset=0) */