File tree Expand file tree Collapse file tree 2 files changed +224
-142
lines changed Expand file tree Collapse file tree 2 files changed +224
-142
lines changed Original file line number Diff line number Diff line change 5
5
#include <uapi/asm/svm.h>
6
6
#include <uapi/asm/kvm.h>
7
7
8
- #include <asm/hyperv-tlfs.h>
8
+ /* TODO: including into mshv_vtl_main.c breaks the build. */
9
+ // #include <asm/hyperv-tlfs.h>
9
10
10
11
/*
11
12
* 32-bit intercept words in the VMCB Control Area, starting
@@ -164,7 +165,8 @@ struct __attribute__ ((__packed__)) vmcb_control_area {
164
165
* for use by hypervisor/software.
165
166
*/
166
167
union {
167
- struct hv_vmcb_enlightenments hv_enlightenments ;
168
+ /* TODO: including into mshv_vtl_main.c breaks the build. */
169
+ // struct hv_vmcb_enlightenments hv_enlightenments;
168
170
u8 reserved_sw [32 ];
169
171
};
170
172
};
@@ -195,6 +197,9 @@ struct __attribute__ ((__packed__)) vmcb_control_area {
195
197
#define V_IGN_TPR_SHIFT 20
196
198
#define V_IGN_TPR_MASK (1 << V_IGN_TPR_SHIFT)
197
199
200
+ #define V_GUEST_BUSY_SHIFT 63
201
+ #define V_GUEST_BUSY_MASK (1ULL << V_GUEST_BUSY_SHIFT)
202
+
198
203
#define V_IRQ_INJECTION_BITS_MASK (V_IRQ_MASK | V_INTR_PRIO_MASK | V_IGN_TPR_MASK)
199
204
200
205
#define V_INTR_MASKING_SHIFT 24
You can’t perform that action at this time.
0 commit comments