KVM
Macros | Functions
vmx_onhyperv.h File Reference
#include <asm/hyperv-tlfs.h>
#include <asm/mshyperv.h>
#include <linux/jump_label.h>
#include "capabilities.h"
#include "hyperv_evmcs.h"
#include "vmcs12.h"
Include dependency graph for vmx_onhyperv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define current_evmcs   ((struct hv_enlightened_vmcs *)this_cpu_read(current_vmcs))
 

Functions

static __always_inline bool kvm_is_using_evmcs (void)
 
static __always_inline void evmcs_write64 (unsigned long field, u64 value)
 
static __always_inline void evmcs_write32 (unsigned long field, u32 value)
 
static __always_inline void evmcs_write16 (unsigned long field, u16 value)
 
static __always_inline u64 evmcs_read64 (unsigned long field)
 
static __always_inline u32 evmcs_read32 (unsigned long field)
 
static __always_inline u16 evmcs_read16 (unsigned long field)
 
static void evmcs_load (u64 phys_addr)
 

Macro Definition Documentation

◆ current_evmcs

#define current_evmcs   ((struct hv_enlightened_vmcs *)this_cpu_read(current_vmcs))

Definition at line 15 of file vmx_onhyperv.h.

Function Documentation

◆ evmcs_load()

static void evmcs_load ( u64  phys_addr)
inlinestatic

Definition at line 122 of file vmx_onhyperv.h.

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

◆ evmcs_read16()

static __always_inline u16 evmcs_read16 ( unsigned long  field)
static

Definition at line 121 of file vmx_onhyperv.h.

121 { return 0; }
Here is the caller graph for this function:

◆ evmcs_read32()

static __always_inline u32 evmcs_read32 ( unsigned long  field)
static

Definition at line 120 of file vmx_onhyperv.h.

120 { return 0; }
Here is the caller graph for this function:

◆ evmcs_read64()

static __always_inline u64 evmcs_read64 ( unsigned long  field)
static

Definition at line 119 of file vmx_onhyperv.h.

119 { return 0; }
Here is the caller graph for this function:

◆ evmcs_write16()

static __always_inline void evmcs_write16 ( unsigned long  field,
u16  value 
)
static

Definition at line 118 of file vmx_onhyperv.h.

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

◆ evmcs_write32()

static __always_inline void evmcs_write32 ( unsigned long  field,
u32  value 
)
static

Definition at line 117 of file vmx_onhyperv.h.

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

◆ evmcs_write64()

static __always_inline void evmcs_write64 ( unsigned long  field,
u64  value 
)
static

Definition at line 116 of file vmx_onhyperv.h.

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

◆ kvm_is_using_evmcs()

static __always_inline bool kvm_is_using_evmcs ( void  )
static

Definition at line 115 of file vmx_onhyperv.h.

115 { return false; }
Here is the caller graph for this function: