xref: /linux/drivers/hv/mshv_vtl.h (revision feb06d2690bb826fd33798a99ce5cff8d07b38f9)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _MSHV_VTL_H
3 #define _MSHV_VTL_H
4 
5 #include <linux/mshv.h>
6 #include <linux/types.h>
7 
8 struct mshv_vtl_run {
9 	u32 cancel;
10 	u32 vtl_ret_action_size;
11 	u32 pad[2];
12 	char exit_message[MSHV_MAX_RUN_MSG_SIZE];
13 	union {
14 		struct mshv_vtl_cpu_context cpu_context;
15 
16 		/*
17 		 * Reserving room for the cpu context to grow and to maintain compatibility
18 		 * with user mode.
19 		 */
20 		char reserved[1024];
21 	};
22 	char vtl_ret_actions[MSHV_MAX_RUN_MSG_SIZE];
23 };
24 
25 #endif /* _MSHV_VTL_H */
26