KVM
Macros | Enumerations | Functions
hyperv.h File Reference
#include <linux/kvm_host.h>
#include "vmcs12.h"
#include "vmx.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.

Macros

#define EVMPTR_INVALID   (-1ULL)
 
#define EVMPTR_MAP_PENDING   (-2ULL)
 

Enumerations

enum  nested_evmptrld_status { EVMPTRLD_DISABLED , EVMPTRLD_SUCCEEDED , EVMPTRLD_VMFAIL , EVMPTRLD_ERROR }
 

Functions

static bool evmptr_is_valid (u64 evmptr)
 
static bool nested_vmx_is_evmptr12_valid (struct vcpu_vmx *vmx)
 
static bool evmptr_is_set (u64 evmptr)
 
static bool nested_vmx_is_evmptr12_set (struct vcpu_vmx *vmx)
 
static struct hv_enlightened_vmcs * nested_vmx_evmcs (struct vcpu_vmx *vmx)
 

Macro Definition Documentation

◆ EVMPTR_INVALID

#define EVMPTR_INVALID   (-1ULL)

Definition at line 9 of file hyperv.h.

◆ EVMPTR_MAP_PENDING

#define EVMPTR_MAP_PENDING   (-2ULL)

Definition at line 10 of file hyperv.h.

Enumeration Type Documentation

◆ nested_evmptrld_status

Enumerator
EVMPTRLD_DISABLED 
EVMPTRLD_SUCCEEDED 
EVMPTRLD_VMFAIL 
EVMPTRLD_ERROR 

Definition at line 12 of file hyperv.h.

12  {
17 };
@ EVMPTRLD_ERROR
Definition: hyperv.h:16
@ EVMPTRLD_DISABLED
Definition: hyperv.h:13
@ EVMPTRLD_VMFAIL
Definition: hyperv.h:15
@ EVMPTRLD_SUCCEEDED
Definition: hyperv.h:14

Function Documentation

◆ evmptr_is_set()

static bool evmptr_is_set ( u64  evmptr)
inlinestatic

Definition at line 74 of file hyperv.h.

75 {
76  return false;
77 }

◆ evmptr_is_valid()

static bool evmptr_is_valid ( u64  evmptr)
inlinestatic

Definition at line 64 of file hyperv.h.

65 {
66  return false;
67 }
Here is the caller graph for this function:

◆ nested_vmx_evmcs()

static struct hv_enlightened_vmcs* nested_vmx_evmcs ( struct vcpu_vmx vmx)
inlinestatic

Definition at line 84 of file hyperv.h.

85 {
86  return NULL;
87 }
Here is the caller graph for this function:

◆ nested_vmx_is_evmptr12_set()

static bool nested_vmx_is_evmptr12_set ( struct vcpu_vmx vmx)
inlinestatic

Definition at line 79 of file hyperv.h.

80 {
81  return false;
82 }
Here is the caller graph for this function:

◆ nested_vmx_is_evmptr12_valid()

static bool nested_vmx_is_evmptr12_valid ( struct vcpu_vmx vmx)
inlinestatic

Definition at line 69 of file hyperv.h.

70 {
71  return false;
72 }
Here is the caller graph for this function: