#include "irq.h"
#include "mmu.h"
#include "cpuid.h"
#include <linux/kvm_host.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/highmem.h>
#include <linux/sched.h>
#include <linux/moduleparam.h>
#include <linux/mod_devicetable.h>
#include <linux/ftrace_event.h>
#include <linux/slab.h>
#include <linux/tboot.h>
#include "kvm_cache_regs.h"
#include "x86.h"
#include <asm/io.h>
#include <asm/desc.h>
#include <asm/vmx.h>
#include <asm/virtext.h>
#include <asm/mce.h>
#include <asm/i387.h>
#include <asm/xcr.h>
#include <asm/perf_event.h>
#include "trace.h"
Go to the source code of this file.
|
| MODULE_AUTHOR ("Qumranet") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_DEVICE_TABLE (x86cpu, vmx_cpu_id) |
|
| module_param_named (vpid, enable_vpid, bool, 0444) |
|
| module_param_named (flexpriority, flexpriority_enabled, bool, S_IRUGO) |
|
| module_param_named (ept, enable_ept, bool, S_IRUGO) |
|
| module_param_named (unrestricted_guest, enable_unrestricted_guest, bool, S_IRUGO) |
|
| module_param_named (eptad, enable_ept_ad_bits, bool, S_IRUGO) |
|
| module_param (emulate_invalid_guest_state, bool, S_IRUGO) |
|
| module_param (vmm_exclusive, bool, S_IRUGO) |
|
| module_param (fasteoi, bool, S_IRUGO) |
|
| module_param (nested, bool, S_IRUGO) |
|
| module_param (ple_gap, int, S_IRUGO) |
|
| module_param (ple_window, int, S_IRUGO) |
|
u64 | vmx_read_l1_tsc (struct kvm_vcpu *vcpu) |
|
void | prepare_vmcs12 (struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12) |
|
void | load_vmcs12_host_state (struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12) |
|
Definition at line 48 of file vmx.c.
Definition at line 49 of file vmx.c.
Value:
Definition at line 452 of file vmx.c.
#define KVM_CR4_GUEST_OWNED_BITS |
Value:
Definition at line 102 of file vmx.c.
Definition at line 96 of file vmx.c.
Definition at line 94 of file vmx.c.
Definition at line 98 of file vmx.c.
#define KVM_VMX_DEFAULT_PLE_GAP 128 |
#define KVM_VMX_DEFAULT_PLE_WINDOW 4096 |
#define NR_AUTOLOAD_MSRS 8 |
#define VMCS02_POOL_SIZE 1 |
#define VMCS12_REVISION 0x11e57ed0 |
#define VMCS12_SIZE 0x1000 |
#define VMX_SEGMENT_FIELD |
( |
|
seg | ) |
|
Value:
.selector = GUEST_##
seg##_SELECTOR, \
.base = GUEST_##
seg##_BASE, \
.limit = GUEST_##
seg##_LIMIT, \
.ar_bytes = GUEST_##
seg##_AR_BYTES, \
}
Definition at line 663 of file vmx.c.
- Enumerator:
SEG_FIELD_SEL |
|
SEG_FIELD_BASE |
|
SEG_FIELD_LIMIT |
|
SEG_FIELD_AR |
|
SEG_FIELD_NR |
|
Definition at line 436 of file vmx.c.
- Enumerator:
VMCS_FIELD_TYPE_U16 |
|
VMCS_FIELD_TYPE_U64 |
|
VMCS_FIELD_TYPE_U32 |
|
VMCS_FIELD_TYPE_NATURAL_WIDTH |
|
Definition at line 5384 of file vmx.c.
MODULE_AUTHOR |
( |
"Qumranet" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
x86cpu |
, |
|
|
vmx_cpu_id |
|
|
) |
| |
module_param |
( |
emulate_invalid_guest_state |
, |
|
|
bool |
, |
|
|
S_IRUGO |
|
|
) |
| |
module_param_named |
( |
vpid |
, |
|
|
enable_vpid |
, |
|
|
bool |
, |
|
|
0444 |
|
|
) |
| |
module_param_named |
( |
flexpriority |
, |
|
|
flexpriority_enabled |
, |
|
|
bool |
, |
|
|
S_IRUGO |
|
|
) |
| |
module_param_named |
( |
ept |
, |
|
|
enable_ept |
, |
|
|
bool |
, |
|
|
S_IRUGO |
|
|
) |
| |
module_param_named |
( |
unrestricted_guest |
, |
|
|
enable_unrestricted_guest |
, |
|
|
bool |
, |
|
|
S_IRUGO |
|
|
) |
| |
module_param_named |
( |
eptad |
, |
|
|
enable_ept_ad_bits |
, |
|
|
bool |
, |
|
|
S_IRUGO |
|
|
) |
| |