Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
kvm.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/kvm_para.h>
#include <linux/cpu.h>
#include <linux/mm.h>
#include <linux/highmem.h>
#include <linux/hardirq.h>
#include <linux/notifier.h>
#include <linux/reboot.h>
#include <linux/hash.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/kprobes.h>
#include <asm/timer.h>
#include <asm/cpu.h>
#include <asm/traps.h>
#include <asm/desc.h>
#include <asm/tlbflush.h>
#include <asm/idle.h>
#include <asm/apic.h>
#include <asm/apicdef.h>
#include <asm/hypervisor.h>

Go to the source code of this file.

Data Structures

struct  kvm_task_sleep_node
 
struct  kvm_task_sleep_head
 

Macros

#define KVM_TASK_SLEEP_HASHBITS   8
 
#define KVM_TASK_SLEEP_HASHSIZE   (1<<KVM_TASK_SLEEP_HASHBITS)
 

Functions

 early_param ("no-kvmapf", parse_no_kvmapf)
 
 early_param ("no-steal-acc", parse_no_stealacc)
 
void kvm_async_pf_task_wait (u32 token)
 
 EXPORT_SYMBOL_GPL (kvm_async_pf_task_wait)
 
void kvm_async_pf_task_wake (u32 token)
 
 EXPORT_SYMBOL_GPL (kvm_async_pf_task_wake)
 
u32 kvm_read_and_reset_pf_reason (void)
 
 EXPORT_SYMBOL_GPL (kvm_read_and_reset_pf_reason)
 
dotraplinkage void __kprobes do_async_page_fault (struct pt_regs *regs, unsigned long error_code)
 
void __cpuinit kvm_guest_cpu_init (void)
 
void kvm_disable_steal_time (void)
 
void __init kvm_guest_init (void)
 
 EXPORT_SYMBOL_GPL (x86_hyper_kvm)
 
 arch_initcall (activate_jump_labels)
 

Variables

struct hypervisor_x86 x86_hyper_kvm __refconst
 

Macro Definition Documentation

#define KVM_TASK_SLEEP_HASHBITS   8

Definition at line 76 of file kvm.c.

#define KVM_TASK_SLEEP_HASHSIZE   (1<<KVM_TASK_SLEEP_HASHBITS)

Definition at line 77 of file kvm.c.

Function Documentation

arch_initcall ( activate_jump_labels  )
dotraplinkage void __kprobes do_async_page_fault ( struct pt_regs regs,
unsigned long  error_code 
)

Definition at line 242 of file kvm.c.

early_param ( "no-kvmapf"  ,
parse_no_kvmapf   
)
early_param ( "no-steal-acc"  ,
parse_no_stealacc   
)
EXPORT_SYMBOL_GPL ( kvm_async_pf_task_wait  )
EXPORT_SYMBOL_GPL ( kvm_async_pf_task_wake  )
EXPORT_SYMBOL_GPL ( kvm_read_and_reset_pf_reason  )
EXPORT_SYMBOL_GPL ( x86_hyper_kvm  )
void kvm_async_pf_task_wait ( u32  token)

Definition at line 107 of file kvm.c.

void kvm_async_pf_task_wake ( u32  token)

Definition at line 188 of file kvm.c.

void kvm_disable_steal_time ( void  )

Definition at line 392 of file kvm.c.

void __cpuinit kvm_guest_cpu_init ( void  )

Definition at line 308 of file kvm.c.

void __init kvm_guest_init ( void  )

Definition at line 452 of file kvm.c.

u32 kvm_read_and_reset_pf_reason ( void  )

Definition at line 228 of file kvm.c.

Variable Documentation

Initial value:
= {
.name = "KVM",
.detect = kvm_detect,
}

Definition at line 489 of file kvm.c.