KVM
Functions
hyperv.h File Reference
#include <linux/kvm_host.h>
#include "x86.h"
Include dependency graph for hyperv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void kvm_hv_setup_tsc_page (struct kvm *kvm, struct pvclock_vcpu_time_info *hv_clock)
 
static void kvm_hv_request_tsc_page_update (struct kvm *kvm)
 
static void kvm_hv_xsaves_xsavec_maybe_warn (struct kvm_vcpu *vcpu)
 
static void kvm_hv_init_vm (struct kvm *kvm)
 
static void kvm_hv_destroy_vm (struct kvm *kvm)
 
static int kvm_hv_vcpu_init (struct kvm_vcpu *vcpu)
 
static void kvm_hv_vcpu_uninit (struct kvm_vcpu *vcpu)
 
static bool kvm_hv_hypercall_enabled (struct kvm_vcpu *vcpu)
 
static int kvm_hv_hypercall (struct kvm_vcpu *vcpu)
 
static void kvm_hv_vcpu_purge_flush_tlb (struct kvm_vcpu *vcpu)
 
static void kvm_hv_free_pa_page (struct kvm *kvm)
 
static bool kvm_hv_synic_has_vector (struct kvm_vcpu *vcpu, int vector)
 
static bool kvm_hv_synic_auto_eoi_set (struct kvm_vcpu *vcpu, int vector)
 
static void kvm_hv_synic_send_eoi (struct kvm_vcpu *vcpu, int vector)
 
static bool kvm_hv_invtsc_suppressed (struct kvm_vcpu *vcpu)
 
static void kvm_hv_set_cpuid (struct kvm_vcpu *vcpu, bool hyperv_enabled)
 
static bool kvm_hv_has_stimer_pending (struct kvm_vcpu *vcpu)
 
static bool kvm_hv_is_tlb_flush_hcall (struct kvm_vcpu *vcpu)
 
static bool guest_hv_cpuid_has_l2_tlb_flush (struct kvm_vcpu *vcpu)
 
static int kvm_hv_verify_vp_assist (struct kvm_vcpu *vcpu)
 
static u32 kvm_hv_get_vpindex (struct kvm_vcpu *vcpu)
 
static void kvm_hv_nested_transtion_tlb_flush (struct kvm_vcpu *vcpu, bool tdp_enabled)
 

Function Documentation

◆ guest_hv_cpuid_has_l2_tlb_flush()

static bool guest_hv_cpuid_has_l2_tlb_flush ( struct kvm_vcpu *  vcpu)
inlinestatic

Definition at line 312 of file hyperv.h.

313 {
314  return false;
315 }
Here is the caller graph for this function:

◆ kvm_hv_destroy_vm()

static void kvm_hv_destroy_vm ( struct kvm *  kvm)
inlinestatic

Definition at line 274 of file hyperv.h.

274 {}

◆ kvm_hv_free_pa_page()

static void kvm_hv_free_pa_page ( struct kvm *  kvm)
inlinestatic

Definition at line 289 of file hyperv.h.

289 {}

◆ kvm_hv_get_vpindex()

static u32 kvm_hv_get_vpindex ( struct kvm_vcpu *  vcpu)
inlinestatic

Definition at line 320 of file hyperv.h.

321 {
322  return vcpu->vcpu_idx;
323 }
Here is the caller graph for this function:

◆ kvm_hv_has_stimer_pending()

static bool kvm_hv_has_stimer_pending ( struct kvm_vcpu *  vcpu)
inlinestatic

Definition at line 304 of file hyperv.h.

305 {
306  return false;
307 }
Here is the caller graph for this function:

◆ kvm_hv_hypercall()

static int kvm_hv_hypercall ( struct kvm_vcpu *  vcpu)
inlinestatic

Definition at line 284 of file hyperv.h.

285 {
286  return HV_STATUS_ACCESS_DENIED;
287 }

◆ kvm_hv_hypercall_enabled()

static bool kvm_hv_hypercall_enabled ( struct kvm_vcpu *  vcpu)
inlinestatic

Definition at line 280 of file hyperv.h.

281 {
282  return false;
283 }
Here is the caller graph for this function:

◆ kvm_hv_init_vm()

static void kvm_hv_init_vm ( struct kvm *  kvm)
inlinestatic

Definition at line 273 of file hyperv.h.

273 {}

◆ kvm_hv_invtsc_suppressed()

static bool kvm_hv_invtsc_suppressed ( struct kvm_vcpu *  vcpu)
inlinestatic

Definition at line 299 of file hyperv.h.

300 {
301  return false;
302 }
Here is the caller graph for this function:

◆ kvm_hv_is_tlb_flush_hcall()

static bool kvm_hv_is_tlb_flush_hcall ( struct kvm_vcpu *  vcpu)
inlinestatic

Definition at line 308 of file hyperv.h.

309 {
310  return false;
311 }
Here is the caller graph for this function:

◆ kvm_hv_nested_transtion_tlb_flush()

static void kvm_hv_nested_transtion_tlb_flush ( struct kvm_vcpu *  vcpu,
bool  tdp_enabled 
)
inlinestatic

Definition at line 324 of file hyperv.h.

324 {}
Here is the caller graph for this function:

◆ kvm_hv_request_tsc_page_update()

static void kvm_hv_request_tsc_page_update ( struct kvm *  kvm)
inlinestatic

Definition at line 271 of file hyperv.h.

271 {}

◆ kvm_hv_set_cpuid()

static void kvm_hv_set_cpuid ( struct kvm_vcpu *  vcpu,
bool  hyperv_enabled 
)
inlinestatic

Definition at line 303 of file hyperv.h.

303 {}

◆ kvm_hv_setup_tsc_page()

static void kvm_hv_setup_tsc_page ( struct kvm *  kvm,
struct pvclock_vcpu_time_info *  hv_clock 
)
inlinestatic

Definition at line 269 of file hyperv.h.

270  {}

◆ kvm_hv_synic_auto_eoi_set()

static bool kvm_hv_synic_auto_eoi_set ( struct kvm_vcpu *  vcpu,
int  vector 
)
inlinestatic

Definition at line 294 of file hyperv.h.

295 {
296  return false;
297 }
Here is the caller graph for this function:

◆ kvm_hv_synic_has_vector()

static bool kvm_hv_synic_has_vector ( struct kvm_vcpu *  vcpu,
int  vector 
)
inlinestatic

Definition at line 290 of file hyperv.h.

291 {
292  return false;
293 }
Here is the caller graph for this function:

◆ kvm_hv_synic_send_eoi()

static void kvm_hv_synic_send_eoi ( struct kvm_vcpu *  vcpu,
int  vector 
)
inlinestatic

Definition at line 298 of file hyperv.h.

298 {}

◆ kvm_hv_vcpu_init()

static int kvm_hv_vcpu_init ( struct kvm_vcpu *  vcpu)
inlinestatic

Definition at line 275 of file hyperv.h.

276 {
277  return 0;
278 }

◆ kvm_hv_vcpu_purge_flush_tlb()

static void kvm_hv_vcpu_purge_flush_tlb ( struct kvm_vcpu *  vcpu)
inlinestatic

Definition at line 288 of file hyperv.h.

288 {}
Here is the caller graph for this function:

◆ kvm_hv_vcpu_uninit()

static void kvm_hv_vcpu_uninit ( struct kvm_vcpu *  vcpu)
inlinestatic

Definition at line 279 of file hyperv.h.

279 {}

◆ kvm_hv_verify_vp_assist()

static int kvm_hv_verify_vp_assist ( struct kvm_vcpu *  vcpu)
inlinestatic

Definition at line 316 of file hyperv.h.

317 {
318  return 0;
319 }
Here is the caller graph for this function:

◆ kvm_hv_xsaves_xsavec_maybe_warn()

static void kvm_hv_xsaves_xsavec_maybe_warn ( struct kvm_vcpu *  vcpu)
inlinestatic

Definition at line 272 of file hyperv.h.

272 {}