Lines Matching defs:vm
125 void virt_arch_pgd_alloc(struct kvm_vm *vm) in virt_arch_pgd_alloc()
137 static void *virt_get_pte(struct kvm_vm *vm, uint64_t *parent_pte, in virt_get_pte()
151 static uint64_t *virt_create_upper_pte(struct kvm_vm *vm, in virt_create_upper_pte()
182 void __virt_pg_map(struct kvm_vm *vm, uint64_t vaddr, uint64_t paddr, int level) in __virt_pg_map()
227 void virt_arch_pg_map(struct kvm_vm *vm, uint64_t vaddr, uint64_t paddr) in virt_arch_pg_map()
232 void virt_map_level(struct kvm_vm *vm, uint64_t vaddr, uint64_t paddr, in virt_map_level()
263 uint64_t *__vm_get_page_table_entry(struct kvm_vm *vm, uint64_t vaddr, in __vm_get_page_table_entry()
299 uint64_t *vm_get_page_table_entry(struct kvm_vm *vm, uint64_t vaddr) in vm_get_page_table_entry()
306 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_arch_dump()
401 static void kvm_seg_fill_gdt_64bit(struct kvm_vm *vm, struct kvm_segment *segp) in kvm_seg_fill_gdt_64bit()
439 static void kvm_seg_set_kernel_code_64bit(struct kvm_vm *vm, uint16_t selector, in kvm_seg_set_kernel_code_64bit()
471 static void kvm_seg_set_kernel_data_64bit(struct kvm_vm *vm, uint16_t selector, in kvm_seg_set_kernel_data_64bit()
487 vm_paddr_t addr_arch_gva2gpa(struct kvm_vm *vm, vm_vaddr_t gva) in addr_arch_gva2gpa()
502 static void kvm_setup_gdt(struct kvm_vm *vm, struct kvm_dtable *dt) in kvm_setup_gdt()
511 static void kvm_setup_tss_64bit(struct kvm_vm *vm, struct kvm_segment *segp, in kvm_setup_tss_64bit()
526 static void vcpu_setup(struct kvm_vm *vm, struct kvm_vcpu *vcpu) in vcpu_setup()
558 void kvm_arch_vm_post_create(struct kvm_vm *vm) in kvm_arch_vm_post_create()
565 struct kvm_vcpu *vm_arch_vcpu_add(struct kvm_vm *vm, uint32_t vcpu_id, in vm_arch_vcpu_add()
610 struct kvm_vcpu *vm_arch_vcpu_recreate(struct kvm_vm *vm, uint32_t vcpu_id) in vm_arch_vcpu_recreate()
1044 static void set_idt_entry(struct kvm_vm *vm, int vector, unsigned long addr, in set_idt_entry()
1096 void vm_init_descriptor_tables(struct kvm_vm *vm) in vm_init_descriptor_tables()
1111 struct kvm_vm *vm = vcpu->vm; in vcpu_init_descriptor_tables() local
1124 void vm_install_exception_handler(struct kvm_vm *vm, int vector, in vm_install_exception_handler()
1247 unsigned long vm_compute_max_gfn(struct kvm_vm *vm) in vm_compute_max_gfn()
1288 bool vm_is_unrestricted_guest(struct kvm_vm *vm) in vm_is_unrestricted_guest()