linux/arch/x86/kvm/kvm_onhyperv.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * KVM L1 hypervisor optimizations on Hyper-V.
 */
#define pr_fmt(fmt)

#include <linux/kvm_host.h>
#include <asm/mshyperv.h>

#include "hyperv.h"
#include "kvm_onhyperv.h"

struct kvm_hv_tlb_range {};

static int kvm_fill_hv_flush_list_func(struct hv_guest_mapping_flush_list *flush,
		void *data)
{}

static inline int hv_remote_flush_root_tdp(hpa_t root_tdp,
					   struct kvm_hv_tlb_range *range)
{}

static int __hv_flush_remote_tlbs_range(struct kvm *kvm,
					struct kvm_hv_tlb_range *range)
{}

int hv_flush_remote_tlbs_range(struct kvm *kvm, gfn_t start_gfn, gfn_t nr_pages)
{}
EXPORT_SYMBOL_GPL();

int hv_flush_remote_tlbs(struct kvm *kvm)
{}
EXPORT_SYMBOL_GPL();

void hv_track_root_tdp(struct kvm_vcpu *vcpu, hpa_t root_tdp)
{}
EXPORT_SYMBOL_GPL();