kvm_para.h 670 B

1234567891011121314151617181920212223242526272829
  1. #ifndef _UAPI__LINUX_KVM_PARA_H
  2. #define _UAPI__LINUX_KVM_PARA_H
  3. /*
  4. * This header file provides a method for making a hypercall to the host
  5. * Architectures should define:
  6. * - kvm_hypercall0, kvm_hypercall1...
  7. * - kvm_arch_para_features
  8. * - kvm_para_available
  9. */
  10. /* Return values for hypercalls */
  11. #define KVM_ENOSYS 1000
  12. #define KVM_EFAULT EFAULT
  13. #define KVM_E2BIG E2BIG
  14. #define KVM_EPERM EPERM
  15. #define KVM_HC_VAPIC_POLL_IRQ 1
  16. #define KVM_HC_MMU_OP 2
  17. #define KVM_HC_FEATURES 3
  18. #define KVM_HC_PPC_MAP_MAGIC_PAGE 4
  19. #define KVM_HC_KICK_CPU 5
  20. /*
  21. * hypercalls use architecture specific
  22. */
  23. #include <asm/kvm_para.h>
  24. #endif /* _UAPI__LINUX_KVM_PARA_H */