mshv_vtl.h 536 B

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