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 55#include <uapi/asm/svm.h>
66#include <uapi/asm/kvm.h>
77
8- #include <asm/hyperv-tlfs.h>
8+ /* TODO: including into mshv_vtl_main.c breaks the build. */
9+ // #include <asm/hyperv-tlfs.h>
910
1011/*
1112 * 32-bit intercept words in the VMCB Control Area, starting
@@ -164,7 +165,8 @@ struct __attribute__ ((__packed__)) vmcb_control_area {
164165 * for use by hypervisor/software.
165166 */
166167 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;
168170 u8 reserved_sw [32 ];
169171 };
170172};
@@ -195,6 +197,9 @@ struct __attribute__ ((__packed__)) vmcb_control_area {
195197#define V_IGN_TPR_SHIFT 20
196198#define V_IGN_TPR_MASK (1 << V_IGN_TPR_SHIFT)
197199
200+ #define V_GUEST_BUSY_SHIFT 63
201+ #define V_GUEST_BUSY_MASK (1ULL << V_GUEST_BUSY_SHIFT)
202+
198203#define V_IRQ_INJECTION_BITS_MASK (V_IRQ_MASK | V_INTR_PRIO_MASK | V_IGN_TPR_MASK)
199204
200205#define V_INTR_MASKING_SHIFT 24
You can’t perform that action at this time.
0 commit comments