Lines Matching defs:from
157 * We want to see VMMCALLs from a nested guest only when Hyper-V L2 TLB
332 struct vmcb_control_area *from)
337 to->intercepts[i] = from->intercepts[i];
339 to->iopm_base_pa = from->iopm_base_pa;
340 to->msrpm_base_pa = from->msrpm_base_pa;
341 to->tsc_offset = from->tsc_offset;
342 to->tlb_ctl = from->tlb_ctl;
343 to->int_ctl = from->int_ctl;
344 to->int_vector = from->int_vector;
345 to->int_state = from->int_state;
346 to->exit_code = from->exit_code;
347 to->exit_code_hi = from->exit_code_hi;
348 to->exit_info_1 = from->exit_info_1;
349 to->exit_info_2 = from->exit_info_2;
350 to->exit_int_info = from->exit_int_info;
351 to->exit_int_info_err = from->exit_int_info_err;
352 to->nested_ctl = from->nested_ctl;
353 to->event_inj = from->event_inj;
354 to->event_inj_err = from->event_inj_err;
355 to->next_rip = from->next_rip;
356 to->nested_cr3 = from->nested_cr3;
357 to->virt_ext = from->virt_ext;
358 to->pause_filter_count = from->pause_filter_count;
359 to->pause_filter_thresh = from->pause_filter_thresh;
362 to->asid = from->asid;
368 to->clean = from->clean;
369 memcpy(&to->hv_enlightenments, &from->hv_enlightenments,
381 struct vmcb_save_area *from)
387 to->efer = from->efer;
388 to->cr0 = from->cr0;
389 to->cr3 = from->cr3;
390 to->cr4 = from->cr4;
392 to->dr6 = from->dr6;
393 to->dr7 = from->dr7;
476 * KVM_REQ_HV_TLB_FLUSH flushes entries from either L1's VP_ID or
477 * L2's VP_ID upon request from the guest. Make sure we check for
531 /* FIXME: merge g_pat from vmcb01 and vmcb12. */
665 /* Copied from vmcb01. msrpm_base can be overwritten later. */
702 * to L1, take it verbatim from vmcb12. If nrips is supported in
746 /* start from host values otherwise */
778 * always performs VMLOAD and VMSAVE from the VMCB01.
1041 * Rules for synchronizing int_ctl bits from vmcb02 to vmcb01:
1048 * copies this bits from vmcb02 to vmcb01.
1051 * is stored in vmcb02, but its value doesn't need to be copied from/to
1052 * vmcb01 because it is copied from/to the virtual APIC's TPR register
1057 * there is no need to copy V_GIF from vmcb02 to vmcb01.
1156 * to benefit from it right away.
1542 struct vmcb_ctrl_area_cached *from)
1549 dst->intercepts[i] = from->intercepts[i];
1551 dst->iopm_base_pa = from->iopm_base_pa;
1552 dst->msrpm_base_pa = from->msrpm_base_pa;
1553 dst->tsc_offset = from->tsc_offset;
1554 dst->asid = from->asid;
1555 dst->tlb_ctl = from->tlb_ctl;
1556 dst->int_ctl = from->int_ctl;
1557 dst->int_vector = from->int_vector;
1558 dst->int_state = from->int_state;
1559 dst->exit_code = from->exit_code;
1560 dst->exit_code_hi = from->exit_code_hi;
1561 dst->exit_info_1 = from->exit_info_1;
1562 dst->exit_info_2 = from->exit_info_2;
1563 dst->exit_int_info = from->exit_int_info;
1564 dst->exit_int_info_err = from->exit_int_info_err;
1565 dst->nested_ctl = from->nested_ctl;
1566 dst->event_inj = from->event_inj;
1567 dst->event_inj_err = from->event_inj_err;
1568 dst->next_rip = from->next_rip;
1569 dst->nested_cr3 = from->nested_cr3;
1570 dst->virt_ext = from->virt_ext;
1571 dst->pause_filter_count = from->pause_filter_count;
1572 dst->pause_filter_thresh = from->pause_filter_thresh;
1719 * Validate host state saved from before VMRUN (see
1734 * L2 registers if needed are moved from the current VMCB to VMCB02.