nested_vmcb 3353 arch/x86/kvm/svm.c struct vmcb *nested_vmcb; nested_vmcb 3372 arch/x86/kvm/svm.c nested_vmcb = map.hva; nested_vmcb 3381 arch/x86/kvm/svm.c nested_vmcb->save.es = vmcb->save.es; nested_vmcb 3382 arch/x86/kvm/svm.c nested_vmcb->save.cs = vmcb->save.cs; nested_vmcb 3383 arch/x86/kvm/svm.c nested_vmcb->save.ss = vmcb->save.ss; nested_vmcb 3384 arch/x86/kvm/svm.c nested_vmcb->save.ds = vmcb->save.ds; nested_vmcb 3385 arch/x86/kvm/svm.c nested_vmcb->save.gdtr = vmcb->save.gdtr; nested_vmcb 3386 arch/x86/kvm/svm.c nested_vmcb->save.idtr = vmcb->save.idtr; nested_vmcb 3387 arch/x86/kvm/svm.c nested_vmcb->save.efer = svm->vcpu.arch.efer; nested_vmcb 3388 arch/x86/kvm/svm.c nested_vmcb->save.cr0 = kvm_read_cr0(&svm->vcpu); nested_vmcb 3389 arch/x86/kvm/svm.c nested_vmcb->save.cr3 = kvm_read_cr3(&svm->vcpu); nested_vmcb 3390 arch/x86/kvm/svm.c nested_vmcb->save.cr2 = vmcb->save.cr2; nested_vmcb 3391 arch/x86/kvm/svm.c nested_vmcb->save.cr4 = svm->vcpu.arch.cr4; nested_vmcb 3392 arch/x86/kvm/svm.c nested_vmcb->save.rflags = kvm_get_rflags(&svm->vcpu); nested_vmcb 3393 arch/x86/kvm/svm.c nested_vmcb->save.rip = vmcb->save.rip; nested_vmcb 3394 arch/x86/kvm/svm.c nested_vmcb->save.rsp = vmcb->save.rsp; nested_vmcb 3395 arch/x86/kvm/svm.c nested_vmcb->save.rax = vmcb->save.rax; nested_vmcb 3396 arch/x86/kvm/svm.c nested_vmcb->save.dr7 = vmcb->save.dr7; nested_vmcb 3397 arch/x86/kvm/svm.c nested_vmcb->save.dr6 = vmcb->save.dr6; nested_vmcb 3398 arch/x86/kvm/svm.c nested_vmcb->save.cpl = vmcb->save.cpl; nested_vmcb 3400 arch/x86/kvm/svm.c nested_vmcb->control.int_ctl = vmcb->control.int_ctl; nested_vmcb 3401 arch/x86/kvm/svm.c nested_vmcb->control.int_vector = vmcb->control.int_vector; nested_vmcb 3402 arch/x86/kvm/svm.c nested_vmcb->control.int_state = vmcb->control.int_state; nested_vmcb 3403 arch/x86/kvm/svm.c nested_vmcb->control.exit_code = vmcb->control.exit_code; nested_vmcb 3404 arch/x86/kvm/svm.c nested_vmcb->control.exit_code_hi = vmcb->control.exit_code_hi; nested_vmcb 3405 arch/x86/kvm/svm.c nested_vmcb->control.exit_info_1 = vmcb->control.exit_info_1; nested_vmcb 3406 arch/x86/kvm/svm.c nested_vmcb->control.exit_info_2 = vmcb->control.exit_info_2; nested_vmcb 3407 arch/x86/kvm/svm.c nested_vmcb->control.exit_int_info = vmcb->control.exit_int_info; nested_vmcb 3408 arch/x86/kvm/svm.c nested_vmcb->control.exit_int_info_err = vmcb->control.exit_int_info_err; nested_vmcb 3411 arch/x86/kvm/svm.c nested_vmcb->control.next_rip = vmcb->control.next_rip; nested_vmcb 3422 arch/x86/kvm/svm.c struct vmcb_control_area *nc = &nested_vmcb->control; nested_vmcb 3428 arch/x86/kvm/svm.c nested_vmcb->control.tlb_ctl = 0; nested_vmcb 3429 arch/x86/kvm/svm.c nested_vmcb->control.event_inj = 0; nested_vmcb 3430 arch/x86/kvm/svm.c nested_vmcb->control.event_inj_err = 0; nested_vmcb 3432 arch/x86/kvm/svm.c nested_vmcb->control.pause_filter_count = nested_vmcb 3434 arch/x86/kvm/svm.c nested_vmcb->control.pause_filter_thresh = nested_vmcb 3439 arch/x86/kvm/svm.c nested_vmcb->control.int_ctl &= ~V_INTR_MASKING_MASK; nested_vmcb 3542 arch/x86/kvm/svm.c struct vmcb *nested_vmcb, struct kvm_host_map *map) nested_vmcb 3549 arch/x86/kvm/svm.c if (nested_vmcb->control.nested_ctl & SVM_NESTED_CTL_NP_ENABLE) { nested_vmcb 3550 arch/x86/kvm/svm.c svm->nested.nested_cr3 = nested_vmcb->control.nested_cr3; nested_vmcb 3555 arch/x86/kvm/svm.c svm->vmcb->save.es = nested_vmcb->save.es; nested_vmcb 3556 arch/x86/kvm/svm.c svm->vmcb->save.cs = nested_vmcb->save.cs; nested_vmcb 3557 arch/x86/kvm/svm.c svm->vmcb->save.ss = nested_vmcb->save.ss; nested_vmcb 3558 arch/x86/kvm/svm.c svm->vmcb->save.ds = nested_vmcb->save.ds; nested_vmcb 3559 arch/x86/kvm/svm.c svm->vmcb->save.gdtr = nested_vmcb->save.gdtr; nested_vmcb 3560 arch/x86/kvm/svm.c svm->vmcb->save.idtr = nested_vmcb->save.idtr; nested_vmcb 3561 arch/x86/kvm/svm.c kvm_set_rflags(&svm->vcpu, nested_vmcb->save.rflags); nested_vmcb 3562 arch/x86/kvm/svm.c svm_set_efer(&svm->vcpu, nested_vmcb->save.efer); nested_vmcb 3563 arch/x86/kvm/svm.c svm_set_cr0(&svm->vcpu, nested_vmcb->save.cr0); nested_vmcb 3564 arch/x86/kvm/svm.c svm_set_cr4(&svm->vcpu, nested_vmcb->save.cr4); nested_vmcb 3566 arch/x86/kvm/svm.c svm->vmcb->save.cr3 = nested_vmcb->save.cr3; nested_vmcb 3567 arch/x86/kvm/svm.c svm->vcpu.arch.cr3 = nested_vmcb->save.cr3; nested_vmcb 3569 arch/x86/kvm/svm.c (void)kvm_set_cr3(&svm->vcpu, nested_vmcb->save.cr3); nested_vmcb 3574 arch/x86/kvm/svm.c svm->vmcb->save.cr2 = svm->vcpu.arch.cr2 = nested_vmcb->save.cr2; nested_vmcb 3575 arch/x86/kvm/svm.c kvm_rax_write(&svm->vcpu, nested_vmcb->save.rax); nested_vmcb 3576 arch/x86/kvm/svm.c kvm_rsp_write(&svm->vcpu, nested_vmcb->save.rsp); nested_vmcb 3577 arch/x86/kvm/svm.c kvm_rip_write(&svm->vcpu, nested_vmcb->save.rip); nested_vmcb 3580 arch/x86/kvm/svm.c svm->vmcb->save.rax = nested_vmcb->save.rax; nested_vmcb 3581 arch/x86/kvm/svm.c svm->vmcb->save.rsp = nested_vmcb->save.rsp; nested_vmcb 3582 arch/x86/kvm/svm.c svm->vmcb->save.rip = nested_vmcb->save.rip; nested_vmcb 3583 arch/x86/kvm/svm.c svm->vmcb->save.dr7 = nested_vmcb->save.dr7; nested_vmcb 3584 arch/x86/kvm/svm.c svm->vmcb->save.dr6 = nested_vmcb->save.dr6; nested_vmcb 3585 arch/x86/kvm/svm.c svm->vmcb->save.cpl = nested_vmcb->save.cpl; nested_vmcb 3587 arch/x86/kvm/svm.c svm->nested.vmcb_msrpm = nested_vmcb->control.msrpm_base_pa & ~0x0fffULL; nested_vmcb 3588 arch/x86/kvm/svm.c svm->nested.vmcb_iopm = nested_vmcb->control.iopm_base_pa & ~0x0fffULL; nested_vmcb 3591 arch/x86/kvm/svm.c svm->nested.intercept_cr = nested_vmcb->control.intercept_cr; nested_vmcb 3592 arch/x86/kvm/svm.c svm->nested.intercept_dr = nested_vmcb->control.intercept_dr; nested_vmcb 3593 arch/x86/kvm/svm.c svm->nested.intercept_exceptions = nested_vmcb->control.intercept_exceptions; nested_vmcb 3594 arch/x86/kvm/svm.c svm->nested.intercept = nested_vmcb->control.intercept; nested_vmcb 3597 arch/x86/kvm/svm.c svm->vmcb->control.int_ctl = nested_vmcb->control.int_ctl | V_INTR_MASKING_MASK; nested_vmcb 3598 arch/x86/kvm/svm.c if (nested_vmcb->control.int_ctl & V_INTR_MASKING_MASK) nested_vmcb 3612 arch/x86/kvm/svm.c svm->vcpu.arch.tsc_offset += nested_vmcb->control.tsc_offset; nested_vmcb 3615 arch/x86/kvm/svm.c svm->vmcb->control.virt_ext = nested_vmcb->control.virt_ext; nested_vmcb 3616 arch/x86/kvm/svm.c svm->vmcb->control.int_vector = nested_vmcb->control.int_vector; nested_vmcb 3617 arch/x86/kvm/svm.c svm->vmcb->control.int_state = nested_vmcb->control.int_state; nested_vmcb 3618 arch/x86/kvm/svm.c svm->vmcb->control.event_inj = nested_vmcb->control.event_inj; nested_vmcb 3619 arch/x86/kvm/svm.c svm->vmcb->control.event_inj_err = nested_vmcb->control.event_inj_err; nested_vmcb 3622 arch/x86/kvm/svm.c nested_vmcb->control.pause_filter_count; nested_vmcb 3624 arch/x86/kvm/svm.c nested_vmcb->control.pause_filter_thresh; nested_vmcb 3647 arch/x86/kvm/svm.c struct vmcb *nested_vmcb; nested_vmcb 3665 arch/x86/kvm/svm.c nested_vmcb = map.hva; nested_vmcb 3667 arch/x86/kvm/svm.c if (!nested_vmcb_checks(nested_vmcb)) { nested_vmcb 3668 arch/x86/kvm/svm.c nested_vmcb->control.exit_code = SVM_EXIT_ERR; nested_vmcb 3669 arch/x86/kvm/svm.c nested_vmcb->control.exit_code_hi = 0; nested_vmcb 3670 arch/x86/kvm/svm.c nested_vmcb->control.exit_info_1 = 0; nested_vmcb 3671 arch/x86/kvm/svm.c nested_vmcb->control.exit_info_2 = 0; nested_vmcb 3679 arch/x86/kvm/svm.c nested_vmcb->save.rip, nested_vmcb 3680 arch/x86/kvm/svm.c nested_vmcb->control.int_ctl, nested_vmcb 3681 arch/x86/kvm/svm.c nested_vmcb->control.event_inj, nested_vmcb 3682 arch/x86/kvm/svm.c nested_vmcb->control.nested_ctl); nested_vmcb 3684 arch/x86/kvm/svm.c trace_kvm_nested_intercepts(nested_vmcb->control.intercept_cr & 0xffff, nested_vmcb 3685 arch/x86/kvm/svm.c nested_vmcb->control.intercept_cr >> 16, nested_vmcb 3686 arch/x86/kvm/svm.c nested_vmcb->control.intercept_exceptions, nested_vmcb 3687 arch/x86/kvm/svm.c nested_vmcb->control.intercept); nested_vmcb 3717 arch/x86/kvm/svm.c enter_svm_guest_mode(svm, vmcb_gpa, nested_vmcb, &map); nested_vmcb 3749 arch/x86/kvm/svm.c struct vmcb *nested_vmcb; nested_vmcb 3763 arch/x86/kvm/svm.c nested_vmcb = map.hva; nested_vmcb 3767 arch/x86/kvm/svm.c nested_svm_vmloadsave(nested_vmcb, svm->vmcb); nested_vmcb 3775 arch/x86/kvm/svm.c struct vmcb *nested_vmcb; nested_vmcb 3789 arch/x86/kvm/svm.c nested_vmcb = map.hva; nested_vmcb 3793 arch/x86/kvm/svm.c nested_svm_vmloadsave(svm->vmcb, nested_vmcb); nested_vmcb 6299 arch/x86/kvm/svm.c struct vmcb *nested_vmcb; nested_vmcb 6310 arch/x86/kvm/svm.c nested_vmcb = map.hva; nested_vmcb 6311 arch/x86/kvm/svm.c enter_svm_guest_mode(svm, vmcb, nested_vmcb, &map);