Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
kvm_main.c File Reference
#include "iodev.h"
#include <linux/kvm_host.h>
#include <linux/kvm.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/percpu.h>
#include <linux/mm.h>
#include <linux/miscdevice.h>
#include <linux/vmalloc.h>
#include <linux/reboot.h>
#include <linux/debugfs.h>
#include <linux/highmem.h>
#include <linux/file.h>
#include <linux/syscore_ops.h>
#include <linux/cpu.h>
#include <linux/sched.h>
#include <linux/cpumask.h>
#include <linux/smp.h>
#include <linux/anon_inodes.h>
#include <linux/profile.h>
#include <linux/kvm_para.h>
#include <linux/pagemap.h>
#include <linux/mman.h>
#include <linux/swap.h>
#include <linux/bitops.h>
#include <linux/spinlock.h>
#include <linux/compat.h>
#include <linux/srcu.h>
#include <linux/hugetlb.h>
#include <linux/slab.h>
#include <linux/sort.h>
#include <linux/bsearch.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include "coalesced_mmio.h"
#include "async_pf.h"
#include <trace/events/kvm.h>

Go to the source code of this file.

Macros

#define CREATE_TRACE_POINTS
 

Functions

 MODULE_AUTHOR ("Qumranet")
 
 MODULE_LICENSE ("GPL")
 
 DEFINE_RAW_SPINLOCK (kvm_lock)
 
 LIST_HEAD (vm_list)
 
 EXPORT_SYMBOL_GPL (kvm_vcpu_cache)
 
 EXPORT_SYMBOL_GPL (kvm_rebooting)
 
bool kvm_is_mmio_pfn (pfn_t pfn)
 
int vcpu_load (struct kvm_vcpu *vcpu)
 
void vcpu_put (struct kvm_vcpu *vcpu)
 
void kvm_flush_remote_tlbs (struct kvm *kvm)
 
void kvm_reload_remote_mmus (struct kvm *kvm)
 
int kvm_vcpu_init (struct kvm_vcpu *vcpu, struct kvm *kvm, unsigned id)
 
 EXPORT_SYMBOL_GPL (kvm_vcpu_init)
 
void kvm_vcpu_uninit (struct kvm_vcpu *vcpu)
 
 EXPORT_SYMBOL_GPL (kvm_vcpu_uninit)
 
voidkvm_kvzalloc (unsigned long size)
 
void kvm_kvfree (const void *addr)
 
void kvm_free_physmem (struct kvm *kvm)
 
void kvm_get_kvm (struct kvm *kvm)
 
 EXPORT_SYMBOL_GPL (kvm_get_kvm)
 
void kvm_put_kvm (struct kvm *kvm)
 
 EXPORT_SYMBOL_GPL (kvm_put_kvm)
 
void update_memslots (struct kvm_memslots *slots, struct kvm_memory_slot *new)
 
int __kvm_set_memory_region (struct kvm *kvm, struct kvm_userspace_memory_region *mem, int user_alloc)
 
 EXPORT_SYMBOL_GPL (__kvm_set_memory_region)
 
int kvm_set_memory_region (struct kvm *kvm, struct kvm_userspace_memory_region *mem, int user_alloc)
 
 EXPORT_SYMBOL_GPL (kvm_set_memory_region)
 
int kvm_vm_ioctl_set_memory_region (struct kvm *kvm, struct kvm_userspace_memory_region *mem, int user_alloc)
 
int kvm_get_dirty_log (struct kvm *kvm, struct kvm_dirty_log *log, int *is_dirty)
 
bool kvm_largepages_enabled (void)
 
void kvm_disable_largepages (void)
 
 EXPORT_SYMBOL_GPL (kvm_disable_largepages)
 
struct kvm_memory_slotgfn_to_memslot (struct kvm *kvm, gfn_t gfn)
 
 EXPORT_SYMBOL_GPL (gfn_to_memslot)
 
int kvm_is_visible_gfn (struct kvm *kvm, gfn_t gfn)
 
 EXPORT_SYMBOL_GPL (kvm_is_visible_gfn)
 
unsigned long kvm_host_page_size (struct kvm *kvm, gfn_t gfn)
 
unsigned long gfn_to_hva_memslot (struct kvm_memory_slot *slot, gfn_t gfn)
 
 EXPORT_SYMBOL_GPL (gfn_to_hva_memslot)
 
unsigned long gfn_to_hva (struct kvm *kvm, gfn_t gfn)
 
 EXPORT_SYMBOL_GPL (gfn_to_hva)
 
int get_user_page_nowait (struct task_struct *tsk, struct mm_struct *mm, unsigned long start, int write, struct page **page)
 
pfn_t gfn_to_pfn_atomic (struct kvm *kvm, gfn_t gfn)
 
 EXPORT_SYMBOL_GPL (gfn_to_pfn_atomic)
 
pfn_t gfn_to_pfn_async (struct kvm *kvm, gfn_t gfn, bool *async, bool write_fault, bool *writable)
 
 EXPORT_SYMBOL_GPL (gfn_to_pfn_async)
 
pfn_t gfn_to_pfn (struct kvm *kvm, gfn_t gfn)
 
 EXPORT_SYMBOL_GPL (gfn_to_pfn)
 
pfn_t gfn_to_pfn_prot (struct kvm *kvm, gfn_t gfn, bool write_fault, bool *writable)
 
 EXPORT_SYMBOL_GPL (gfn_to_pfn_prot)
 
pfn_t gfn_to_pfn_memslot (struct kvm_memory_slot *slot, gfn_t gfn)
 
pfn_t gfn_to_pfn_memslot_atomic (struct kvm_memory_slot *slot, gfn_t gfn)
 
 EXPORT_SYMBOL_GPL (gfn_to_pfn_memslot_atomic)
 
int gfn_to_page_many_atomic (struct kvm *kvm, gfn_t gfn, struct page **pages, int nr_pages)
 
 EXPORT_SYMBOL_GPL (gfn_to_page_many_atomic)
 
struct pagegfn_to_page (struct kvm *kvm, gfn_t gfn)
 
 EXPORT_SYMBOL_GPL (gfn_to_page)
 
void kvm_release_page_clean (struct page *page)
 
 EXPORT_SYMBOL_GPL (kvm_release_page_clean)
 
void kvm_release_pfn_clean (pfn_t pfn)
 
 EXPORT_SYMBOL_GPL (kvm_release_pfn_clean)
 
void kvm_release_page_dirty (struct page *page)
 
 EXPORT_SYMBOL_GPL (kvm_release_page_dirty)
 
void kvm_release_pfn_dirty (pfn_t pfn)
 
 EXPORT_SYMBOL_GPL (kvm_release_pfn_dirty)
 
void kvm_set_page_dirty (struct page *page)
 
 EXPORT_SYMBOL_GPL (kvm_set_page_dirty)
 
void kvm_set_pfn_dirty (pfn_t pfn)
 
 EXPORT_SYMBOL_GPL (kvm_set_pfn_dirty)
 
void kvm_set_pfn_accessed (pfn_t pfn)
 
 EXPORT_SYMBOL_GPL (kvm_set_pfn_accessed)
 
void kvm_get_pfn (pfn_t pfn)
 
 EXPORT_SYMBOL_GPL (kvm_get_pfn)
 
int kvm_read_guest_page (struct kvm *kvm, gfn_t gfn, void *data, int offset, int len)
 
 EXPORT_SYMBOL_GPL (kvm_read_guest_page)
 
int kvm_read_guest (struct kvm *kvm, gpa_t gpa, void *data, unsigned long len)
 
 EXPORT_SYMBOL_GPL (kvm_read_guest)
 
int kvm_read_guest_atomic (struct kvm *kvm, gpa_t gpa, void *data, unsigned long len)
 
 EXPORT_SYMBOL (kvm_read_guest_atomic)
 
int kvm_write_guest_page (struct kvm *kvm, gfn_t gfn, const void *data, int offset, int len)
 
 EXPORT_SYMBOL_GPL (kvm_write_guest_page)
 
int kvm_write_guest (struct kvm *kvm, gpa_t gpa, const void *data, unsigned long len)
 
int kvm_gfn_to_hva_cache_init (struct kvm *kvm, struct gfn_to_hva_cache *ghc, gpa_t gpa)
 
 EXPORT_SYMBOL_GPL (kvm_gfn_to_hva_cache_init)
 
int kvm_write_guest_cached (struct kvm *kvm, struct gfn_to_hva_cache *ghc, void *data, unsigned long len)
 
 EXPORT_SYMBOL_GPL (kvm_write_guest_cached)
 
int kvm_read_guest_cached (struct kvm *kvm, struct gfn_to_hva_cache *ghc, void *data, unsigned long len)
 
 EXPORT_SYMBOL_GPL (kvm_read_guest_cached)
 
int kvm_clear_guest_page (struct kvm *kvm, gfn_t gfn, int offset, int len)
 
 EXPORT_SYMBOL_GPL (kvm_clear_guest_page)
 
int kvm_clear_guest (struct kvm *kvm, gpa_t gpa, unsigned long len)
 
 EXPORT_SYMBOL_GPL (kvm_clear_guest)
 
void mark_page_dirty_in_slot (struct kvm *kvm, struct kvm_memory_slot *memslot, gfn_t gfn)
 
void mark_page_dirty (struct kvm *kvm, gfn_t gfn)
 
void kvm_vcpu_block (struct kvm_vcpu *vcpu)
 
void kvm_vcpu_kick (struct kvm_vcpu *vcpu)
 
void kvm_resched (struct kvm_vcpu *vcpu)
 
 EXPORT_SYMBOL_GPL (kvm_resched)
 
bool kvm_vcpu_yield_to (struct kvm_vcpu *target)
 
 EXPORT_SYMBOL_GPL (kvm_vcpu_yield_to)
 
void kvm_vcpu_on_spin (struct kvm_vcpu *me)
 
 EXPORT_SYMBOL_GPL (kvm_vcpu_on_spin)
 
asmlinkage void kvm_spurious_fault (void)
 
 EXPORT_SYMBOL_GPL (kvm_spurious_fault)
 
int kvm_io_bus_sort_cmp (const void *p1, const void *p2)
 
int kvm_io_bus_insert_dev (struct kvm_io_bus *bus, struct kvm_io_device *dev, gpa_t addr, int len)
 
int kvm_io_bus_get_first_dev (struct kvm_io_bus *bus, gpa_t addr, int len)
 
int kvm_io_bus_write (struct kvm *kvm, enum kvm_bus bus_idx, gpa_t addr, int len, const void *val)
 
int kvm_io_bus_read (struct kvm *kvm, enum kvm_bus bus_idx, gpa_t addr, int len, void *val)
 
int kvm_io_bus_register_dev (struct kvm *kvm, enum kvm_bus bus_idx, gpa_t addr, int len, struct kvm_io_device *dev)
 
int kvm_io_bus_unregister_dev (struct kvm *kvm, enum kvm_bus bus_idx, struct kvm_io_device *dev)
 
 DEFINE_SIMPLE_ATTRIBUTE (vm_stat_fops, vm_stat_get, NULL,"%llu\n")
 
 DEFINE_SIMPLE_ATTRIBUTE (vcpu_stat_fops, vcpu_stat_get, NULL,"%llu\n")
 
int kvm_init (void *opaque, unsigned vcpu_size, unsigned vcpu_align, struct module *module)
 
 EXPORT_SYMBOL_GPL (kvm_init)
 
void kvm_exit (void)
 
 EXPORT_SYMBOL_GPL (kvm_exit)
 

Variables

struct kmem_cachekvm_vcpu_cache
 
struct dentrykvm_debugfs_dir
 
bool kvm_rebooting
 

Macro Definition Documentation

#define CREATE_TRACE_POINTS

Definition at line 61 of file kvm_main.c.

Function Documentation

int __kvm_set_memory_region ( struct kvm kvm,
struct kvm_userspace_memory_region mem,
int  user_alloc 
)

Definition at line 705 of file kvm_main.c.

DEFINE_RAW_SPINLOCK ( kvm_lock  )
DEFINE_SIMPLE_ATTRIBUTE ( vm_stat_fops  ,
vm_stat_get  ,
NULL  ,
"%llu\n"   
)
DEFINE_SIMPLE_ATTRIBUTE ( vcpu_stat_fops  ,
vcpu_stat_get  ,
NULL  ,
"%llu\n"   
)
EXPORT_SYMBOL ( kvm_read_guest_atomic  )
EXPORT_SYMBOL_GPL ( kvm_vcpu_cache  )
EXPORT_SYMBOL_GPL ( kvm_rebooting  )
EXPORT_SYMBOL_GPL ( kvm_vcpu_init  )
EXPORT_SYMBOL_GPL ( kvm_vcpu_uninit  )
EXPORT_SYMBOL_GPL ( kvm_get_kvm  )
EXPORT_SYMBOL_GPL ( kvm_put_kvm  )
EXPORT_SYMBOL_GPL ( __kvm_set_memory_region  )
EXPORT_SYMBOL_GPL ( kvm_set_memory_region  )
EXPORT_SYMBOL_GPL ( kvm_disable_largepages  )
EXPORT_SYMBOL_GPL ( gfn_to_memslot  )
EXPORT_SYMBOL_GPL ( kvm_is_visible_gfn  )
EXPORT_SYMBOL_GPL ( gfn_to_hva_memslot  )
EXPORT_SYMBOL_GPL ( gfn_to_hva  )
EXPORT_SYMBOL_GPL ( gfn_to_pfn_atomic  )
EXPORT_SYMBOL_GPL ( gfn_to_pfn_async  )
EXPORT_SYMBOL_GPL ( gfn_to_pfn  )
EXPORT_SYMBOL_GPL ( gfn_to_pfn_prot  )
EXPORT_SYMBOL_GPL ( gfn_to_pfn_memslot_atomic  )
EXPORT_SYMBOL_GPL ( gfn_to_page_many_atomic  )
EXPORT_SYMBOL_GPL ( gfn_to_page  )
EXPORT_SYMBOL_GPL ( kvm_release_page_clean  )
EXPORT_SYMBOL_GPL ( kvm_release_pfn_clean  )
EXPORT_SYMBOL_GPL ( kvm_release_page_dirty  )
EXPORT_SYMBOL_GPL ( kvm_release_pfn_dirty  )
EXPORT_SYMBOL_GPL ( kvm_set_page_dirty  )
EXPORT_SYMBOL_GPL ( kvm_set_pfn_dirty  )
EXPORT_SYMBOL_GPL ( kvm_set_pfn_accessed  )
EXPORT_SYMBOL_GPL ( kvm_get_pfn  )
EXPORT_SYMBOL_GPL ( kvm_read_guest_page  )
EXPORT_SYMBOL_GPL ( kvm_read_guest  )
EXPORT_SYMBOL_GPL ( kvm_write_guest_page  )
EXPORT_SYMBOL_GPL ( kvm_gfn_to_hva_cache_init  )
EXPORT_SYMBOL_GPL ( kvm_write_guest_cached  )
EXPORT_SYMBOL_GPL ( kvm_read_guest_cached  )
EXPORT_SYMBOL_GPL ( kvm_clear_guest_page  )
EXPORT_SYMBOL_GPL ( kvm_clear_guest  )
EXPORT_SYMBOL_GPL ( kvm_resched  )
EXPORT_SYMBOL_GPL ( kvm_vcpu_yield_to  )
EXPORT_SYMBOL_GPL ( kvm_vcpu_on_spin  )
EXPORT_SYMBOL_GPL ( kvm_spurious_fault  )
EXPORT_SYMBOL_GPL ( kvm_init  )
EXPORT_SYMBOL_GPL ( kvm_exit  )
int get_user_page_nowait ( struct task_struct tsk,
struct mm_struct mm,
unsigned long  start,
int  write,
struct page **  page 
)

Definition at line 1035 of file kvm_main.c.

unsigned long gfn_to_hva ( struct kvm kvm,
gfn_t  gfn 
)

Definition at line 1010 of file kvm_main.c.

unsigned long gfn_to_hva_memslot ( struct kvm_memory_slot slot,
gfn_t  gfn 
)

Definition at line 1003 of file kvm_main.c.

struct kvm_memory_slot* gfn_to_memslot ( struct kvm kvm,
gfn_t  gfn 
)
read

Definition at line 935 of file kvm_main.c.

struct page* gfn_to_page ( struct kvm kvm,
gfn_t  gfn 
)
read

Definition at line 1304 of file kvm_main.c.

int gfn_to_page_many_atomic ( struct kvm kvm,
gfn_t  gfn,
struct page **  pages,
int  nr_pages 
)

Definition at line 1274 of file kvm_main.c.

pfn_t gfn_to_pfn ( struct kvm kvm,
gfn_t  gfn 
)

Definition at line 1250 of file kvm_main.c.

pfn_t gfn_to_pfn_async ( struct kvm kvm,
gfn_t  gfn,
bool async,
bool  write_fault,
bool writable 
)

Definition at line 1243 of file kvm_main.c.

pfn_t gfn_to_pfn_atomic ( struct kvm kvm,
gfn_t  gfn 
)

Definition at line 1237 of file kvm_main.c.

pfn_t gfn_to_pfn_memslot ( struct kvm_memory_slot slot,
gfn_t  gfn 
)

Definition at line 1263 of file kvm_main.c.

pfn_t gfn_to_pfn_memslot_atomic ( struct kvm_memory_slot slot,
gfn_t  gfn 
)

Definition at line 1268 of file kvm_main.c.

pfn_t gfn_to_pfn_prot ( struct kvm kvm,
gfn_t  gfn,
bool  write_fault,
bool writable 
)

Definition at line 1256 of file kvm_main.c.

int kvm_clear_guest ( struct kvm kvm,
gpa_t  gpa,
unsigned long  len 
)

Definition at line 1544 of file kvm_main.c.

int kvm_clear_guest_page ( struct kvm kvm,
gfn_t  gfn,
int  offset,
int  len 
)

Definition at line 1537 of file kvm_main.c.

void kvm_disable_largepages ( void  )

Definition at line 929 of file kvm_main.c.

void kvm_exit ( void  )

Definition at line 2961 of file kvm_main.c.

void kvm_flush_remote_tlbs ( struct kvm kvm)

Definition at line 200 of file kvm_main.c.

void kvm_free_physmem ( struct kvm kvm)

Definition at line 560 of file kvm_main.c.

int kvm_get_dirty_log ( struct kvm kvm,
struct kvm_dirty_log log,
int is_dirty 
)

Definition at line 890 of file kvm_main.c.

void kvm_get_kvm ( struct kvm kvm)

Definition at line 597 of file kvm_main.c.

void kvm_get_pfn ( pfn_t  pfn)

Definition at line 1368 of file kvm_main.c.

int kvm_gfn_to_hva_cache_init ( struct kvm kvm,
struct gfn_to_hva_cache ghc,
gpa_t  gpa 
)

Definition at line 1476 of file kvm_main.c.

unsigned long kvm_host_page_size ( struct kvm kvm,
gfn_t  gfn 
)

Definition at line 953 of file kvm_main.c.

int kvm_init ( void opaque,
unsigned  vcpu_size,
unsigned  vcpu_align,
struct module module 
)

Definition at line 2871 of file kvm_main.c.

int kvm_io_bus_get_first_dev ( struct kvm_io_bus bus,
gpa_t  addr,
int  len 
)

Definition at line 2615 of file kvm_main.c.

int kvm_io_bus_insert_dev ( struct kvm_io_bus bus,
struct kvm_io_device dev,
gpa_t  addr,
int  len 
)

Definition at line 2600 of file kvm_main.c.

int kvm_io_bus_read ( struct kvm kvm,
enum kvm_bus  bus_idx,
gpa_t  addr,
int  len,
void val 
)

Definition at line 2668 of file kvm_main.c.

int kvm_io_bus_register_dev ( struct kvm kvm,
enum kvm_bus  bus_idx,
gpa_t  addr,
int  len,
struct kvm_io_device dev 
)

Definition at line 2696 of file kvm_main.c.

int kvm_io_bus_sort_cmp ( const void p1,
const void p2 
)

Definition at line 2588 of file kvm_main.c.

int kvm_io_bus_unregister_dev ( struct kvm kvm,
enum kvm_bus  bus_idx,
struct kvm_io_device dev 
)

Definition at line 2720 of file kvm_main.c.

int kvm_io_bus_write ( struct kvm kvm,
enum kvm_bus  bus_idx,
gpa_t  addr,
int  len,
const void val 
)

Definition at line 2640 of file kvm_main.c.

bool kvm_is_mmio_pfn ( pfn_t  pfn)

Definition at line 103 of file kvm_main.c.

int kvm_is_visible_gfn ( struct kvm kvm,
gfn_t  gfn 
)

Definition at line 941 of file kvm_main.c.

void kvm_kvfree ( const void addr)

Definition at line 529 of file kvm_main.c.

void* kvm_kvzalloc ( unsigned long  size)

Definition at line 521 of file kvm_main.c.

bool kvm_largepages_enabled ( void  )

Definition at line 924 of file kvm_main.c.

void kvm_put_kvm ( struct kvm kvm)

Definition at line 603 of file kvm_main.c.

int kvm_read_guest ( struct kvm kvm,
gpa_t  gpa,
void data,
unsigned long  len 
)

Definition at line 1399 of file kvm_main.c.

int kvm_read_guest_atomic ( struct kvm kvm,
gpa_t  gpa,
void data,
unsigned long  len 
)

Definition at line 1419 of file kvm_main.c.

int kvm_read_guest_cached ( struct kvm kvm,
struct gfn_to_hva_cache ghc,
void data,
unsigned long  len 
)

Definition at line 1517 of file kvm_main.c.

int kvm_read_guest_page ( struct kvm kvm,
gfn_t  gfn,
void data,
int  offset,
int  len 
)

Definition at line 1383 of file kvm_main.c.

void kvm_release_page_clean ( struct page page)

Definition at line 1315 of file kvm_main.c.

void kvm_release_page_dirty ( struct page page)

Definition at line 1330 of file kvm_main.c.

void kvm_release_pfn_clean ( pfn_t  pfn)

Definition at line 1323 of file kvm_main.c.

void kvm_release_pfn_dirty ( pfn_t  pfn)

Definition at line 1338 of file kvm_main.c.

void kvm_reload_remote_mmus ( struct kvm kvm)

Definition at line 210 of file kvm_main.c.

void kvm_resched ( struct kvm_vcpu vcpu)

Definition at line 1630 of file kvm_main.c.

int kvm_set_memory_region ( struct kvm kvm,
struct kvm_userspace_memory_region mem,
int  user_alloc 
)

Definition at line 867 of file kvm_main.c.

void kvm_set_page_dirty ( struct page page)

Definition at line 1345 of file kvm_main.c.

void kvm_set_pfn_accessed ( pfn_t  pfn)

Definition at line 1361 of file kvm_main.c.

void kvm_set_pfn_dirty ( pfn_t  pfn)

Definition at line 1351 of file kvm_main.c.

asmlinkage void kvm_spurious_fault ( void  )

Definition at line 2549 of file kvm_main.c.

void kvm_vcpu_block ( struct kvm_vcpu vcpu)

Definition at line 1584 of file kvm_main.c.

int kvm_vcpu_init ( struct kvm_vcpu vcpu,
struct kvm kvm,
unsigned  id 
)

Definition at line 215 of file kvm_main.c.

void kvm_vcpu_kick ( struct kvm_vcpu vcpu)

Definition at line 1610 of file kvm_main.c.

void kvm_vcpu_on_spin ( struct kvm_vcpu me)

Definition at line 1700 of file kvm_main.c.

void kvm_vcpu_uninit ( struct kvm_vcpu vcpu)

Definition at line 250 of file kvm_main.c.

bool kvm_vcpu_yield_to ( struct kvm_vcpu target)

Definition at line 1638 of file kvm_main.c.

int kvm_vm_ioctl_set_memory_region ( struct kvm kvm,
struct kvm_userspace_memory_region mem,
int  user_alloc 
)

Definition at line 880 of file kvm_main.c.

int kvm_write_guest ( struct kvm kvm,
gpa_t  gpa,
const void data,
unsigned long  len 
)

Definition at line 1456 of file kvm_main.c.

int kvm_write_guest_cached ( struct kvm kvm,
struct gfn_to_hva_cache ghc,
void data,
unsigned long  len 
)

Definition at line 1496 of file kvm_main.c.

int kvm_write_guest_page ( struct kvm kvm,
gfn_t  gfn,
const void data,
int  offset,
int  len 
)

Definition at line 1439 of file kvm_main.c.

LIST_HEAD ( vm_list  )
void mark_page_dirty ( struct kvm kvm,
gfn_t  gfn 
)

Definition at line 1573 of file kvm_main.c.

void mark_page_dirty_in_slot ( struct kvm kvm,
struct kvm_memory_slot memslot,
gfn_t  gfn 
)

Definition at line 1563 of file kvm_main.c.

MODULE_AUTHOR ( "Qumranet"  )
MODULE_LICENSE ( "GPL"  )
void update_memslots ( struct kvm_memslots slots,
struct kvm_memory_slot new 
)

Definition at line 668 of file kvm_main.c.

int vcpu_load ( struct kvm_vcpu vcpu)

Definition at line 134 of file kvm_main.c.

void vcpu_put ( struct kvm_vcpu vcpu)

Definition at line 155 of file kvm_main.c.

Variable Documentation

struct dentry* kvm_debugfs_dir

Definition at line 85 of file kvm_main.c.

bool kvm_rebooting

Definition at line 98 of file kvm_main.c.

struct kmem_cache* kvm_vcpu_cache

Definition at line 80 of file kvm_main.c.