KVM
|
#include <linux/kvm_host.h>
Go to the source code of this file.
Macros | |
#define | KVM_POSSIBLE_CR0_GUEST_BITS (X86_CR0_TS | X86_CR0_WP) |
#define | KVM_POSSIBLE_CR4_GUEST_BITS |
#define | X86_CR0_PDPTR_BITS (X86_CR0_CD | X86_CR0_NW | X86_CR0_PG) |
#define | X86_CR4_TLBFLUSH_BITS (X86_CR4_PGE | X86_CR4_PCIDE | X86_CR4_PAE | X86_CR4_SMEP) |
#define | X86_CR4_PDPTR_BITS (X86_CR4_PGE | X86_CR4_PSE | X86_CR4_PAE | X86_CR4_SMEP) |
#define | BUILD_KVM_GPR_ACCESSORS(lname, uname) |
Functions | |
static bool | kvm_register_is_available (struct kvm_vcpu *vcpu, enum kvm_reg reg) |
static bool | kvm_register_is_dirty (struct kvm_vcpu *vcpu, enum kvm_reg reg) |
static void | kvm_register_mark_available (struct kvm_vcpu *vcpu, enum kvm_reg reg) |
static void | kvm_register_mark_dirty (struct kvm_vcpu *vcpu, enum kvm_reg reg) |
static __always_inline bool | kvm_register_test_and_mark_available (struct kvm_vcpu *vcpu, enum kvm_reg reg) |
static unsigned long | kvm_register_read_raw (struct kvm_vcpu *vcpu, int reg) |
static void | kvm_register_write_raw (struct kvm_vcpu *vcpu, int reg, unsigned long val) |
static unsigned long | kvm_rip_read (struct kvm_vcpu *vcpu) |
static void | kvm_rip_write (struct kvm_vcpu *vcpu, unsigned long val) |
static unsigned long | kvm_rsp_read (struct kvm_vcpu *vcpu) |
static void | kvm_rsp_write (struct kvm_vcpu *vcpu, unsigned long val) |
static u64 | kvm_pdptr_read (struct kvm_vcpu *vcpu, int index) |
static void | kvm_pdptr_write (struct kvm_vcpu *vcpu, int index, u64 value) |
static ulong | kvm_read_cr0_bits (struct kvm_vcpu *vcpu, ulong mask) |
static __always_inline bool | kvm_is_cr0_bit_set (struct kvm_vcpu *vcpu, unsigned long cr0_bit) |
static ulong | kvm_read_cr0 (struct kvm_vcpu *vcpu) |
static ulong | kvm_read_cr4_bits (struct kvm_vcpu *vcpu, ulong mask) |
static __always_inline bool | kvm_is_cr4_bit_set (struct kvm_vcpu *vcpu, unsigned long cr4_bit) |
static ulong | kvm_read_cr3 (struct kvm_vcpu *vcpu) |
static ulong | kvm_read_cr4 (struct kvm_vcpu *vcpu) |
static u64 | kvm_read_edx_eax (struct kvm_vcpu *vcpu) |
static void | enter_guest_mode (struct kvm_vcpu *vcpu) |
static void | leave_guest_mode (struct kvm_vcpu *vcpu) |
static bool | is_guest_mode (struct kvm_vcpu *vcpu) |
#define BUILD_KVM_GPR_ACCESSORS | ( | lname, | |
uname | |||
) |
Definition at line 18 of file kvm_cache_regs.h.
#define KVM_POSSIBLE_CR0_GUEST_BITS (X86_CR0_TS | X86_CR0_WP) |
Definition at line 7 of file kvm_cache_regs.h.
#define KVM_POSSIBLE_CR4_GUEST_BITS |
Definition at line 8 of file kvm_cache_regs.h.
#define X86_CR0_PDPTR_BITS (X86_CR0_CD | X86_CR0_NW | X86_CR0_PG) |
Definition at line 12 of file kvm_cache_regs.h.
#define X86_CR4_PDPTR_BITS (X86_CR4_PGE | X86_CR4_PSE | X86_CR4_PAE | X86_CR4_SMEP) |
Definition at line 14 of file kvm_cache_regs.h.
#define X86_CR4_TLBFLUSH_BITS (X86_CR4_PGE | X86_CR4_PCIDE | X86_CR4_PAE | X86_CR4_SMEP) |
Definition at line 13 of file kvm_cache_regs.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 226 of file kvm_cache_regs.h.
|
static |
Definition at line 160 of file kvm_cache_regs.h.
|
static |
Definition at line 182 of file kvm_cache_regs.h.
|
inlinestatic |
Definition at line 136 of file kvm_cache_regs.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 168 of file kvm_cache_regs.h.
|
inlinestatic |
Definition at line 151 of file kvm_cache_regs.h.
|
inlinestatic |
Definition at line 190 of file kvm_cache_regs.h.
|
inlinestatic |
Definition at line 197 of file kvm_cache_regs.h.
|
inlinestatic |
Definition at line 173 of file kvm_cache_regs.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 95 of file kvm_cache_regs.h.
|
static |
|
inlinestatic |
Definition at line 106 of file kvm_cache_regs.h.
|
inlinestatic |
Definition at line 116 of file kvm_cache_regs.h.
|
inlinestatic |
Definition at line 121 of file kvm_cache_regs.h.
|
inlinestatic |
Definition at line 126 of file kvm_cache_regs.h.
|
inlinestatic |
Definition at line 131 of file kvm_cache_regs.h.
|
inlinestatic |