kvm_para.h 549 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_GENERIC_KVM_PARA_H
  3. #define _ASM_GENERIC_KVM_PARA_H
  4. #include <uapi/asm-generic/kvm_para.h>
  5. /*
  6. * This function is used by architectures that support kvm to avoid issuing
  7. * false soft lockup messages.
  8. */
  9. static inline bool kvm_check_and_clear_guest_paused(void)
  10. {
  11. return false;
  12. }
  13. static inline unsigned int kvm_arch_para_features(void)
  14. {
  15. return 0;
  16. }
  17. static inline unsigned int kvm_arch_para_hints(void)
  18. {
  19. return 0;
  20. }
  21. static inline bool kvm_para_available(void)
  22. {
  23. return false;
  24. }
  25. #endif