cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

kvm_para.h (549B)


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