#include <linux/kvm_host.h>
#include "irq.h"
#include "mmu.h"
#include "kvm_cache_regs.h"
#include "x86.h"
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/kernel.h>
#include <linux/vmalloc.h>
#include <linux/highmem.h>
#include <linux/sched.h>
#include <linux/ftrace_event.h>
#include <linux/slab.h>
#include <asm/perf_event.h>
#include <asm/tlbflush.h>
#include <asm/desc.h>
#include <asm/kvm_para.h>
#include <asm/virtext.h>
#include "trace.h"
Go to the source code of this file.
|
enum | {
VMCB_INTERCEPTS,
VMCB_PERM_MAP,
VMCB_ASID,
VMCB_INTR,
VMCB_NPT,
VMCB_CR,
VMCB_DR,
VMCB_DT,
VMCB_SEG,
VMCB_CR2,
VMCB_LBR,
VMCB_DIRTY_MAX
} |
|
Definition at line 41 of file svm.c.
#define CR_VALID (1ULL << 63) |
#define DEBUGCTL_RESERVED_BITS (~(0x3fULL)) |
Definition at line 72 of file svm.c.
#define IOPM_ALLOC_ORDER 2 |
Definition at line 52 of file svm.c.
#define MSR_INVALID 0xffffffffU |
#define MSRPM_ALLOC_ORDER 1 |
Definition at line 53 of file svm.c.
#define MSRS_RANGE_SIZE 2048 |
#define NESTED_EXIT_CONTINUE 2 /* Further checks needed */ |
Definition at line 70 of file svm.c.
#define NESTED_EXIT_DONE 1 /* Exit caused nested vmexit */ |
Definition at line 69 of file svm.c.
#define NESTED_EXIT_HOST 0 /* Exit handled on host level */ |
Definition at line 68 of file svm.c.
#define NR_HOST_SAVE_USER_MSRS ARRAY_SIZE(host_save_user_msrs) |
Definition at line 88 of file svm.c.
Value:
Definition at line 4045 of file svm.c.
Value:
Definition at line 4047 of file svm.c.
Value:
Definition at line 4043 of file svm.c.
#define SEG_TYPE_BUSY_TSS16 3 |
Definition at line 56 of file svm.c.
Definition at line 55 of file svm.c.
#define SVM_FEATURE_DECODE_ASSIST (1 << 7) |
Definition at line 65 of file svm.c.
#define SVM_FEATURE_FLUSH_ASID (1 << 6) |
Definition at line 64 of file svm.c.
#define SVM_FEATURE_LBRV (1 << 1) |
Definition at line 59 of file svm.c.
#define SVM_FEATURE_NPT (1 << 0) |
Definition at line 58 of file svm.c.
#define SVM_FEATURE_NRIP (1 << 3) |
Definition at line 61 of file svm.c.
#define SVM_FEATURE_PAUSE_FILTER (1 << 10) |
Definition at line 66 of file svm.c.
#define SVM_FEATURE_SVML (1 << 2) |
Definition at line 60 of file svm.c.
#define SVM_FEATURE_TSC_RATE (1 << 4) |
Definition at line 62 of file svm.c.
#define SVM_FEATURE_VMCB_CLEAN (1 << 5) |
Definition at line 63 of file svm.c.
#define TSC_RATIO_DEFAULT 0x0100000000ULL |
#define TSC_RATIO_MAX 0x000000ffffffffffULL |
Definition at line 76 of file svm.c.
#define TSC_RATIO_MIN 0x0000000000000001ULL |
Definition at line 75 of file svm.c.
#define TSC_RATIO_RSVD 0xffffff0000000000ULL |
Definition at line 74 of file svm.c.
#define VMCB_ALWAYS_DIRTY_MASK ((1U << VMCB_INTR) | (1U << VMCB_CR2)) |
- Enumerator:
VMCB_INTERCEPTS |
|
VMCB_PERM_MAP |
|
VMCB_ASID |
|
VMCB_INTR |
|
VMCB_NPT |
|
VMCB_CR |
|
VMCB_DR |
|
VMCB_DT |
|
VMCB_SEG |
|
VMCB_CR2 |
|
VMCB_LBR |
|
VMCB_DIRTY_MAX |
|
Definition at line 212 of file svm.c.
MODULE_AUTHOR |
( |
"Qumranet" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
x86cpu |
, |
|
|
svm_cpu_id |
|
|
) |
| |