KVM
|
Go to the source code of this file.
Macros | |
#define | nested_guest_cr4_valid nested_cr4_valid |
#define | nested_host_cr4_valid nested_cr4_valid |
Enumerations | |
enum | nvmx_vmentry_status { NVMX_VMENTRY_SUCCESS , NVMX_VMENTRY_VMFAIL , NVMX_VMENTRY_VMEXIT , NVMX_VMENTRY_KVM_INTERNAL_ERROR } |
Functions | |
void | vmx_leave_nested (struct kvm_vcpu *vcpu) |
void | nested_vmx_setup_ctls_msrs (struct vmcs_config *vmcs_conf, u32 ept_caps) |
void | nested_vmx_hardware_unsetup (void) |
__init int | nested_vmx_hardware_setup (int(*exit_handlers[])(struct kvm_vcpu *)) |
void | nested_vmx_set_vmcs_shadowing_bitmap (void) |
void | nested_vmx_free_vcpu (struct kvm_vcpu *vcpu) |
enum nvmx_vmentry_status | nested_vmx_enter_non_root_mode (struct kvm_vcpu *vcpu, bool from_vmentry) |
bool | nested_vmx_reflect_vmexit (struct kvm_vcpu *vcpu) |
void | nested_vmx_vmexit (struct kvm_vcpu *vcpu, u32 vm_exit_reason, u32 exit_intr_info, unsigned long exit_qualification) |
void | nested_sync_vmcs12_to_shadow (struct kvm_vcpu *vcpu) |
int | vmx_set_vmx_msr (struct kvm_vcpu *vcpu, u32 msr_index, u64 data) |
int | vmx_get_vmx_msr (struct nested_vmx_msrs *msrs, u32 msr_index, u64 *pdata) |
int | get_vmx_mem_address (struct kvm_vcpu *vcpu, unsigned long exit_qualification, u32 vmx_instruction_info, bool wr, int len, gva_t *ret) |
void | nested_mark_vmcs12_pages_dirty (struct kvm_vcpu *vcpu) |
bool | nested_vmx_check_io_bitmaps (struct kvm_vcpu *vcpu, unsigned int port, int size) |
static struct vmcs12 * | get_vmcs12 (struct kvm_vcpu *vcpu) |
static struct vmcs12 * | get_shadow_vmcs12 (struct kvm_vcpu *vcpu) |
static int | vmx_has_valid_vmcs12 (struct kvm_vcpu *vcpu) |
static u16 | nested_get_vpid02 (struct kvm_vcpu *vcpu) |
static unsigned long | nested_ept_get_eptp (struct kvm_vcpu *vcpu) |
static bool | nested_ept_ad_enabled (struct kvm_vcpu *vcpu) |
static unsigned long | nested_read_cr0 (struct vmcs12 *fields) |
static unsigned long | nested_read_cr4 (struct vmcs12 *fields) |
static unsigned | nested_cpu_vmx_misc_cr3_count (struct kvm_vcpu *vcpu) |
static bool | nested_cpu_has_vmwrite_any_field (struct kvm_vcpu *vcpu) |
static bool | nested_cpu_has_zero_length_injection (struct kvm_vcpu *vcpu) |
static bool | nested_cpu_supports_monitor_trap_flag (struct kvm_vcpu *vcpu) |
static bool | nested_cpu_has_vmx_shadow_vmcs (struct kvm_vcpu *vcpu) |
static bool | nested_cpu_has (struct vmcs12 *vmcs12, u32 bit) |
static bool | nested_cpu_has2 (struct vmcs12 *vmcs12, u32 bit) |
static bool | nested_cpu_has_preemption_timer (struct vmcs12 *vmcs12) |
static bool | nested_cpu_has_nmi_exiting (struct vmcs12 *vmcs12) |
static bool | nested_cpu_has_virtual_nmis (struct vmcs12 *vmcs12) |
static int | nested_cpu_has_mtf (struct vmcs12 *vmcs12) |
static int | nested_cpu_has_ept (struct vmcs12 *vmcs12) |
static bool | nested_cpu_has_xsaves (struct vmcs12 *vmcs12) |
static bool | nested_cpu_has_pml (struct vmcs12 *vmcs12) |
static bool | nested_cpu_has_virt_x2apic_mode (struct vmcs12 *vmcs12) |
static bool | nested_cpu_has_vpid (struct vmcs12 *vmcs12) |
static bool | nested_cpu_has_apic_reg_virt (struct vmcs12 *vmcs12) |
static bool | nested_cpu_has_vid (struct vmcs12 *vmcs12) |
static bool | nested_cpu_has_posted_intr (struct vmcs12 *vmcs12) |
static bool | nested_cpu_has_vmfunc (struct vmcs12 *vmcs12) |
static bool | nested_cpu_has_eptp_switching (struct vmcs12 *vmcs12) |
static bool | nested_cpu_has_shadow_vmcs (struct vmcs12 *vmcs12) |
static bool | nested_cpu_has_save_preemption_timer (struct vmcs12 *vmcs12) |
static bool | nested_exit_on_nmi (struct kvm_vcpu *vcpu) |
static bool | nested_exit_on_intr (struct kvm_vcpu *vcpu) |
static bool | nested_cpu_has_encls_exit (struct vmcs12 *vmcs12) |
static bool | fixed_bits_valid (u64 val, u64 fixed0, u64 fixed1) |
static bool | nested_guest_cr0_valid (struct kvm_vcpu *vcpu, unsigned long val) |
static bool | nested_host_cr0_valid (struct kvm_vcpu *vcpu, unsigned long val) |
static bool | nested_cr4_valid (struct kvm_vcpu *vcpu, unsigned long val) |
Variables | |
struct kvm_x86_nested_ops | vmx_nested_ops |
#define nested_guest_cr4_valid nested_cr4_valid |
#define nested_host_cr4_valid nested_cr4_valid |
enum nvmx_vmentry_status |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
int get_vmx_mem_address | ( | struct kvm_vcpu * | vcpu, |
unsigned long | exit_qualification, | ||
u32 | vmx_instruction_info, | ||
bool | wr, | ||
int | len, | ||
gva_t * | ret | ||
) |
Definition at line 4963 of file nested.c.
|
inlinestatic |
Definition at line 132 of file nested.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 210 of file nested.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 279 of file nested.h.
|
inlinestatic |
Definition at line 77 of file nested.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 228 of file nested.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
void nested_mark_vmcs12_pages_dirty | ( | struct kvm_vcpu * | vcpu | ) |
Definition at line 3838 of file nested.c.
|
inlinestatic |
|
inlinestatic |
void nested_sync_vmcs12_to_shadow | ( | struct kvm_vcpu * | vcpu | ) |
Definition at line 2124 of file nested.c.
bool nested_vmx_check_io_bitmaps | ( | struct kvm_vcpu * | vcpu, |
unsigned int | port, | ||
int | size | ||
) |
Definition at line 5963 of file nested.c.
enum nvmx_vmentry_status nested_vmx_enter_non_root_mode | ( | struct kvm_vcpu * | vcpu, |
bool | from_vmentry | ||
) |
Definition at line 3414 of file nested.c.
void nested_vmx_free_vcpu | ( | struct kvm_vcpu * | vcpu | ) |
__init int nested_vmx_hardware_setup | ( | int(*[])(struct kvm_vcpu *) | exit_handlers | ) |
void nested_vmx_hardware_unsetup | ( | void | ) |
bool nested_vmx_reflect_vmexit | ( | struct kvm_vcpu * | vcpu | ) |
Definition at line 6393 of file nested.c.
void nested_vmx_set_vmcs_shadowing_bitmap | ( | void | ) |
Definition at line 6764 of file nested.c.
void nested_vmx_setup_ctls_msrs | ( | struct vmcs_config * | vmcs_conf, |
u32 | ept_caps | ||
) |
Definition at line 7045 of file nested.c.
void nested_vmx_vmexit | ( | struct kvm_vcpu * | vcpu, |
u32 | vm_exit_reason, | ||
u32 | exit_intr_info, | ||
unsigned long | exit_qualification | ||
) |
Definition at line 4767 of file nested.c.
int vmx_get_vmx_msr | ( | struct nested_vmx_msrs * | msrs, |
u32 | msr_index, | ||
u64 * | pdata | ||
) |
|
inlinestatic |
Definition at line 55 of file nested.h.
void vmx_leave_nested | ( | struct kvm_vcpu * | vcpu | ) |
int vmx_set_vmx_msr | ( | struct kvm_vcpu * | vcpu, |
u32 | msr_index, | ||
u64 | data | ||
) |
Definition at line 1393 of file nested.c.