summaryrefslogtreecommitdiff
path: root/drivers/hv/mshv_vtl.h
blob: a6eea52f7aa20c4fcca5f1775226a44c6aea697e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _MSHV_VTL_H
#define _MSHV_VTL_H

#include <linux/mshv.h>
#include <linux/types.h>

struct mshv_vtl_run {
	u32 cancel;
	u32 vtl_ret_action_size;
	u32 pad[2];
	char exit_message[MSHV_MAX_RUN_MSG_SIZE];
	union {
		struct mshv_vtl_cpu_context cpu_context;

		/*
		 * Reserving room for the cpu context to grow and to maintain compatibility
		 * with user mode.
		 */
		char reserved[1024];
	};
	char vtl_ret_actions[MSHV_MAX_RUN_MSG_SIZE];
};

#endif /* _MSHV_VTL_H */