Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
book3s_pr.c File Reference
#include <linux/kvm_host.h>
#include <linux/export.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <asm/reg.h>
#include <asm/cputable.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/kvm_ppc.h>
#include <asm/kvm_book3s.h>
#include <asm/mmu_context.h>
#include <asm/switch_to.h>
#include <linux/gfp.h>
#include <linux/sched.h>
#include <linux/vmalloc.h>
#include <linux/highmem.h>
#include "trace.h"

Go to the source code of this file.

Functions

void kvmppc_core_vcpu_load (struct kvm_vcpu *vcpu, int cpu)
 
void kvmppc_core_vcpu_put (struct kvm_vcpu *vcpu)
 
void kvmppc_set_msr (struct kvm_vcpu *vcpu, u64 msr)
 
void kvmppc_set_pvr (struct kvm_vcpu *vcpu, u32 pvr)
 
int kvmppc_handle_pagefault (struct kvm_run *run, struct kvm_vcpu *vcpu, ulong eaddr, int vec)
 
void kvmppc_giveup_ext (struct kvm_vcpu *vcpu, ulong msr)
 
int kvmppc_handle_exit (struct kvm_run *run, struct kvm_vcpu *vcpu, unsigned int exit_nr)
 
int kvm_arch_vcpu_ioctl_get_sregs (struct kvm_vcpu *vcpu, struct kvm_sregs *sregs)
 
int kvm_arch_vcpu_ioctl_set_sregs (struct kvm_vcpu *vcpu, struct kvm_sregs *sregs)
 
int kvm_vcpu_ioctl_get_one_reg (struct kvm_vcpu *vcpu, struct kvm_one_reg *reg)
 
int kvm_vcpu_ioctl_set_one_reg (struct kvm_vcpu *vcpu, struct kvm_one_reg *reg)
 
int kvmppc_core_check_processor_compat (void)
 
struct kvm_vcpukvmppc_core_vcpu_create (struct kvm *kvm, unsigned int id)
 
void kvmppc_core_vcpu_free (struct kvm_vcpu *vcpu)
 
int kvmppc_vcpu_run (struct kvm_run *kvm_run, struct kvm_vcpu *vcpu)
 
int kvm_vm_ioctl_get_dirty_log (struct kvm *kvm, struct kvm_dirty_log *log)
 
int kvmppc_core_prepare_memory_region (struct kvm *kvm, struct kvm_userspace_memory_region *mem)
 
void kvmppc_core_commit_memory_region (struct kvm *kvm, struct kvm_userspace_memory_region *mem)
 
int kvmppc_core_init_vm (struct kvm *kvm)
 
void kvmppc_core_destroy_vm (struct kvm *kvm)
 
 module_init (kvmppc_book3s_init)
 
 module_exit (kvmppc_book3s_exit)
 

Function Documentation

int kvm_arch_vcpu_ioctl_get_sregs ( struct kvm_vcpu vcpu,
struct kvm_sregs sregs 
)

Definition at line 839 of file book3s_pr.c.

int kvm_arch_vcpu_ioctl_set_sregs ( struct kvm_vcpu vcpu,
struct kvm_sregs sregs 
)

Definition at line 866 of file book3s_pr.c.

int kvm_vcpu_ioctl_get_one_reg ( struct kvm_vcpu vcpu,
struct kvm_one_reg reg 
)

Definition at line 902 of file book3s_pr.c.

int kvm_vcpu_ioctl_set_one_reg ( struct kvm_vcpu vcpu,
struct kvm_one_reg reg 
)

Definition at line 918 of file book3s_pr.c.

int kvm_vm_ioctl_get_dirty_log ( struct kvm kvm,
struct kvm_dirty_log log 
)

Definition at line 1123 of file book3s_pr.c.

int kvmppc_core_check_processor_compat ( void  )

Definition at line 936 of file book3s_pr.c.

void kvmppc_core_commit_memory_region ( struct kvm kvm,
struct kvm_userspace_memory_region mem 
)

Definition at line 1190 of file book3s_pr.c.

void kvmppc_core_destroy_vm ( struct kvm kvm)

Definition at line 1204 of file book3s_pr.c.

int kvmppc_core_init_vm ( struct kvm kvm)

Definition at line 1195 of file book3s_pr.c.

int kvmppc_core_prepare_memory_region ( struct kvm kvm,
struct kvm_userspace_memory_region mem 
)

Definition at line 1184 of file book3s_pr.c.

struct kvm_vcpu* kvmppc_core_vcpu_create ( struct kvm kvm,
unsigned int  id 
)
read

Definition at line 941 of file book3s_pr.c.

void kvmppc_core_vcpu_free ( struct kvm_vcpu vcpu)

Definition at line 996 of file book3s_pr.c.

void kvmppc_core_vcpu_load ( struct kvm_vcpu vcpu,
int  cpu 
)

Definition at line 59 of file book3s_pr.c.

void kvmppc_core_vcpu_put ( struct kvm_vcpu vcpu)

Definition at line 75 of file book3s_pr.c.

void kvmppc_giveup_ext ( struct kvm_vcpu vcpu,
ulong  msr 
)

Definition at line 389 of file book3s_pr.c.

int kvmppc_handle_exit ( struct kvm_run run,
struct kvm_vcpu vcpu,
unsigned int  exit_nr 
)

Definition at line 539 of file book3s_pr.c.

int kvmppc_handle_pagefault ( struct kvm_run run,
struct kvm_vcpu vcpu,
ulong  eaddr,
int  vec 
)

Definition at line 279 of file book3s_pr.c.

void kvmppc_set_msr ( struct kvm_vcpu vcpu,
u64  msr 
)

Definition at line 108 of file book3s_pr.c.

void kvmppc_set_pvr ( struct kvm_vcpu vcpu,
u32  pvr 
)

Definition at line 168 of file book3s_pr.c.

int kvmppc_vcpu_run ( struct kvm_run kvm_run,
struct kvm_vcpu vcpu 
)

Definition at line 1006 of file book3s_pr.c.

module_exit ( kvmppc_book3s_exit  )
module_init ( kvmppc_book3s_init  )