Searched refs:hsave (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/x86/kvm/
H A Dsvm.c95 struct vmcb *hsave; member in struct:nested_state
265 h = &svm->nested.hsave->control; recalc_intercepts()
277 return svm->nested.hsave; get_host_vmcb()
1045 svm->nested.hsave->control.tsc_offset; svm_write_tsc_offset()
1046 svm->nested.hsave->control.tsc_offset = offset; svm_write_tsc_offset()
1069 svm->nested.hsave->control.tsc_offset += adjustment; svm_adjust_tsc_offset()
1252 svm->nested.hsave = page_address(hsave_page); svm_create_vcpu()
1295 __free_page(virt_to_page(svm->nested.hsave)); svm_free_vcpu()
2312 struct vmcb *hsave = svm->nested.hsave; nested_svm_vmexit() local
2388 copy_vmcb_control_area(vmcb, hsave); nested_svm_vmexit()
2396 svm->vmcb->save.es = hsave->save.es; nested_svm_vmexit()
2397 svm->vmcb->save.cs = hsave->save.cs; nested_svm_vmexit()
2398 svm->vmcb->save.ss = hsave->save.ss; nested_svm_vmexit()
2399 svm->vmcb->save.ds = hsave->save.ds; nested_svm_vmexit()
2400 svm->vmcb->save.gdtr = hsave->save.gdtr; nested_svm_vmexit()
2401 svm->vmcb->save.idtr = hsave->save.idtr; nested_svm_vmexit()
2402 kvm_set_rflags(&svm->vcpu, hsave->save.rflags); nested_svm_vmexit()
2403 svm_set_efer(&svm->vcpu, hsave->save.efer); nested_svm_vmexit()
2404 svm_set_cr0(&svm->vcpu, hsave->save.cr0 | X86_CR0_PE); nested_svm_vmexit()
2405 svm_set_cr4(&svm->vcpu, hsave->save.cr4); nested_svm_vmexit()
2407 svm->vmcb->save.cr3 = hsave->save.cr3; nested_svm_vmexit()
2408 svm->vcpu.arch.cr3 = hsave->save.cr3; nested_svm_vmexit()
2410 (void)kvm_set_cr3(&svm->vcpu, hsave->save.cr3); nested_svm_vmexit()
2412 kvm_register_write(&svm->vcpu, VCPU_REGS_RAX, hsave->save.rax); nested_svm_vmexit()
2413 kvm_register_write(&svm->vcpu, VCPU_REGS_RSP, hsave->save.rsp); nested_svm_vmexit()
2414 kvm_register_write(&svm->vcpu, VCPU_REGS_RIP, hsave->save.rip); nested_svm_vmexit()
2480 struct vmcb *hsave = svm->nested.hsave; nested_svm_vmrun() local
2521 hsave->save.es = vmcb->save.es; nested_svm_vmrun()
2522 hsave->save.cs = vmcb->save.cs; nested_svm_vmrun()
2523 hsave->save.ss = vmcb->save.ss; nested_svm_vmrun()
2524 hsave->save.ds = vmcb->save.ds; nested_svm_vmrun()
2525 hsave->save.gdtr = vmcb->save.gdtr; nested_svm_vmrun()
2526 hsave->save.idtr = vmcb->save.idtr; nested_svm_vmrun()
2527 hsave->save.efer = svm->vcpu.arch.efer; nested_svm_vmrun()
2528 hsave->save.cr0 = kvm_read_cr0(&svm->vcpu); nested_svm_vmrun()
2529 hsave->save.cr4 = svm->vcpu.arch.cr4; nested_svm_vmrun()
2530 hsave->save.rflags = kvm_get_rflags(&svm->vcpu); nested_svm_vmrun()
2531 hsave->save.rip = kvm_rip_read(&svm->vcpu); nested_svm_vmrun()
2532 hsave->save.rsp = vmcb->save.rsp; nested_svm_vmrun()
2533 hsave->save.rax = vmcb->save.rax; nested_svm_vmrun()
2535 hsave->save.cr3 = vmcb->save.cr3; nested_svm_vmrun()
2537 hsave->save.cr3 = kvm_read_cr3(&svm->vcpu); nested_svm_vmrun()
2539 copy_vmcb_control_area(hsave, vmcb); nested_svm_vmrun()

Completed in 84 milliseconds