Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
kvm_mmu Struct Reference

#include <kvm_host.h>

Data Fields

void(* new_cr3 )(struct kvm_vcpu *vcpu)
 
void(* set_cr3 )(struct kvm_vcpu *vcpu, unsigned long root)
 
unsigned long(* get_cr3 )(struct kvm_vcpu *vcpu)
 
u64(* get_pdptr )(struct kvm_vcpu *vcpu, int index)
 
int(* page_fault )(struct kvm_vcpu *vcpu, gva_t gva, u32 err, bool prefault)
 
void(* inject_page_fault )(struct kvm_vcpu *vcpu, struct x86_exception *fault)
 
void(* free )(struct kvm_vcpu *vcpu)
 
gpa_t(* gva_to_gpa )(struct kvm_vcpu *vcpu, gva_t gva, u32 access, struct x86_exception *exception)
 
gpa_t(* translate_gpa )(struct kvm_vcpu *vcpu, gpa_t gpa, u32 access)
 
int(* sync_page )(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp)
 
void(* invlpg )(struct kvm_vcpu *vcpu, gva_t gva)
 
void(* update_pte )(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, u64 *spte, const void *pte)
 
hpa_t root_hpa
 
int root_level
 
int shadow_root_level
 
union kvm_mmu_page_role base_role
 
bool direct_map
 
u8 permissions [16]
 
u64pae_root
 
u64lm_root
 
u64 rsvd_bits_mask [2][4]
 
u8 last_pte_bitmap
 
bool nx
 
u64 pdptrs [4]
 

Detailed Description

Definition at line 250 of file kvm_host.h.

Field Documentation

union kvm_mmu_page_role base_role

Definition at line 271 of file kvm_host.h.

bool direct_map

Definition at line 272 of file kvm_host.h.

void(* free)(struct kvm_vcpu *vcpu)

Definition at line 259 of file kvm_host.h.

unsigned long(* get_cr3)(struct kvm_vcpu *vcpu)

Definition at line 253 of file kvm_host.h.

u64(* get_pdptr)(struct kvm_vcpu *vcpu, int index)

Definition at line 254 of file kvm_host.h.

Definition at line 260 of file kvm_host.h.

void(* inject_page_fault)(struct kvm_vcpu *vcpu, struct x86_exception *fault)

Definition at line 257 of file kvm_host.h.

void(* invlpg)(struct kvm_vcpu *vcpu, gva_t gva)

Definition at line 265 of file kvm_host.h.

u8 last_pte_bitmap

Definition at line 290 of file kvm_host.h.

u64* lm_root

Definition at line 282 of file kvm_host.h.

void(* new_cr3)(struct kvm_vcpu *vcpu)

Definition at line 251 of file kvm_host.h.

bool nx

Definition at line 292 of file kvm_host.h.

u64* pae_root

Definition at line 281 of file kvm_host.h.

int(* page_fault)(struct kvm_vcpu *vcpu, gva_t gva, u32 err, bool prefault)

Definition at line 255 of file kvm_host.h.

u64 pdptrs[4]

Definition at line 294 of file kvm_host.h.

u8 permissions[16]

Definition at line 279 of file kvm_host.h.

hpa_t root_hpa

Definition at line 268 of file kvm_host.h.

int root_level

Definition at line 269 of file kvm_host.h.

u64 rsvd_bits_mask[2][4]

Definition at line 283 of file kvm_host.h.

void(* set_cr3)(struct kvm_vcpu *vcpu, unsigned long root)

Definition at line 252 of file kvm_host.h.

int shadow_root_level

Definition at line 270 of file kvm_host.h.

int(* sync_page)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp)

Definition at line 263 of file kvm_host.h.

gpa_t(* translate_gpa)(struct kvm_vcpu *vcpu, gpa_t gpa, u32 access)

Definition at line 262 of file kvm_host.h.

void(* update_pte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, u64 *spte, const void *pte)

Definition at line 266 of file kvm_host.h.


The documentation for this struct was generated from the following file: