Lines Matching refs:vmcs_write32
1503 static void vmcs_write32(unsigned long field, u32 value) in vmcs_write32() function
1529 vmcs_write32(VM_ENTRY_CONTROLS, val); in vm_entry_controls_init()
1557 vmcs_write32(VM_EXIT_CONTROLS, val); in vm_exit_controls_init()
1664 vmcs_write32(EXCEPTION_BITMAP, eb); in update_exception_bitmap()
1707 vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, m->nr); in clear_atomic_switch_msr()
1708 vmcs_write32(VM_EXIT_MSR_LOAD_COUNT, m->nr); in clear_atomic_switch_msr()
1770 vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, m->nr); in add_atomic_switch_msr()
1771 vmcs_write32(VM_EXIT_MSR_LOAD_COUNT, m->nr); in add_atomic_switch_msr()
2240 vmcs_write32(GUEST_INTERRUPTIBILITY_INFO, interruptibility); in vmx_set_interrupt_shadow()
2284 vmcs_write32(VM_ENTRY_EXCEPTION_ERROR_CODE, error_code); in vmx_queue_exception()
2298 vmcs_write32(VM_ENTRY_INSTRUCTION_LEN, in vmx_queue_exception()
2304 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, intr_info); in vmx_queue_exception()
2883 vmcs_write32(GUEST_SYSENTER_CS, data); in vmx_set_msr()
3501 vmcs_write32(sf->base, var.base); in fix_rmode_seg()
3502 vmcs_write32(sf->limit, var.limit); in fix_rmode_seg()
3503 vmcs_write32(sf->ar_bytes, vmx_segment_access_rights(&var)); in fix_rmode_seg()
3532 vmcs_write32(GUEST_TR_LIMIT, RMODE_TSS_SIZE - 1); in enter_rmode()
3533 vmcs_write32(GUEST_TR_AR_BYTES, 0x008b); in enter_rmode()
3591 vmcs_write32(GUEST_TR_AR_BYTES, in enter_lmode()
3687 vmcs_write32(CPU_BASED_VM_EXEC_CONTROL, in ept_update_paging_mode_cr0()
3695 vmcs_write32(CPU_BASED_VM_EXEC_CONTROL, in ept_update_paging_mode_cr0()
3932 vmcs_write32(sf->limit, var->limit); in vmx_set_segment()
3949 vmcs_write32(sf->ar_bytes, vmx_segment_access_rights(var)); in vmx_set_segment()
3971 vmcs_write32(GUEST_IDTR_LIMIT, dt->size); in vmx_set_idt()
3983 vmcs_write32(GUEST_GDTR_LIMIT, dt->size); in vmx_set_gdt()
4265 vmcs_write32(sf->limit, 0xffff); in seg_setup()
4270 vmcs_write32(sf->ar_bytes, ar); in seg_setup()
4666 vmcs_write32(HOST_IA32_SYSENTER_CS, low32); in vmx_set_constant_host_state()
4790 vmcs_write32(PIN_BASED_VM_EXEC_CONTROL, vmx_pin_based_exec_ctrl(vmx)); in vmx_vcpu_setup()
4792 vmcs_write32(CPU_BASED_VM_EXEC_CONTROL, vmx_exec_control(vmx)); in vmx_vcpu_setup()
4795 vmcs_write32(SECONDARY_VM_EXEC_CONTROL, in vmx_vcpu_setup()
4811 vmcs_write32(PLE_GAP, ple_gap); in vmx_vcpu_setup()
4816 vmcs_write32(PAGE_FAULT_ERROR_CODE_MASK, 0); in vmx_vcpu_setup()
4817 vmcs_write32(PAGE_FAULT_ERROR_CODE_MATCH, 0); in vmx_vcpu_setup()
4818 vmcs_write32(CR3_TARGET_COUNT, 0); /* 22.2.1 */ in vmx_vcpu_setup()
4833 vmcs_write32(VM_EXIT_MSR_STORE_COUNT, 0); in vmx_vcpu_setup()
4834 vmcs_write32(VM_EXIT_MSR_LOAD_COUNT, 0); in vmx_vcpu_setup()
4836 vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, 0); in vmx_vcpu_setup()
4898 vmcs_write32(GUEST_CS_BASE, 0xffff0000); in vmx_vcpu_reset()
4908 vmcs_write32(GUEST_TR_LIMIT, 0xffff); in vmx_vcpu_reset()
4909 vmcs_write32(GUEST_TR_AR_BYTES, 0x008b); in vmx_vcpu_reset()
4913 vmcs_write32(GUEST_LDTR_LIMIT, 0xffff); in vmx_vcpu_reset()
4914 vmcs_write32(GUEST_LDTR_AR_BYTES, 0x00082); in vmx_vcpu_reset()
4917 vmcs_write32(GUEST_SYSENTER_CS, 0); in vmx_vcpu_reset()
4927 vmcs_write32(GUEST_GDTR_LIMIT, 0xffff); in vmx_vcpu_reset()
4930 vmcs_write32(GUEST_IDTR_LIMIT, 0xffff); in vmx_vcpu_reset()
4932 vmcs_write32(GUEST_ACTIVITY_STATE, GUEST_ACTIVITY_ACTIVE); in vmx_vcpu_reset()
4933 vmcs_write32(GUEST_INTERRUPTIBILITY_INFO, 0); in vmx_vcpu_reset()
4934 vmcs_write32(GUEST_PENDING_DBG_EXCEPTIONS, 0); in vmx_vcpu_reset()
4938 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, 0); /* 22.2.1 */ in vmx_vcpu_reset()
4945 vmcs_write32(TPR_THRESHOLD, 0); in vmx_vcpu_reset()
4999 vmcs_write32(CPU_BASED_VM_EXEC_CONTROL, cpu_based_vm_exec_control); in enable_irq_window()
5014 vmcs_write32(CPU_BASED_VM_EXEC_CONTROL, cpu_based_vm_exec_control); in enable_nmi_window()
5037 vmcs_write32(VM_ENTRY_INSTRUCTION_LEN, in vmx_inject_irq()
5041 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, intr); in vmx_inject_irq()
5071 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, in vmx_inject_nmi()
5576 vmcs_write32(CPU_BASED_VM_EXEC_CONTROL, cpu_based_vm_exec_control); in handle_dr()
5626 vmcs_write32(CPU_BASED_VM_EXEC_CONTROL, cpu_based_vm_exec_control); in vmx_sync_dirty_debug_regs()
5696 vmcs_write32(CPU_BASED_VM_EXEC_CONTROL, cpu_based_vm_exec_control); in handle_interrupt_window()
5964 vmcs_write32(CPU_BASED_VM_EXEC_CONTROL, cpu_based_vm_exec_control); in handle_nmi_window()
7110 vmcs_write32(field, (u32)field_value); in copy_vmcs12_to_shadow()
8176 vmcs_write32(TPR_THRESHOLD, 0); in update_cr8_intercept()
8180 vmcs_write32(TPR_THRESHOLD, irr); in update_cr8_intercept()
8207 vmcs_write32(SECONDARY_VM_EXEC_CONTROL, sec_exec_control); in vmx_set_virtual_x2apic_mode()
8506 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, 0); in vmx_cancel_injection()
8543 vmcs_write32(PLE_WINDOW, vmx->ple_window); in vmx_vcpu_run()
8934 vmcs_write32(SECONDARY_VM_EXEC_CONTROL, in vmcs_set_secondary_exec_control()
9481 vmcs_write32(GUEST_ES_LIMIT, vmcs12->guest_es_limit); in prepare_vmcs02()
9482 vmcs_write32(GUEST_CS_LIMIT, vmcs12->guest_cs_limit); in prepare_vmcs02()
9483 vmcs_write32(GUEST_SS_LIMIT, vmcs12->guest_ss_limit); in prepare_vmcs02()
9484 vmcs_write32(GUEST_DS_LIMIT, vmcs12->guest_ds_limit); in prepare_vmcs02()
9485 vmcs_write32(GUEST_FS_LIMIT, vmcs12->guest_fs_limit); in prepare_vmcs02()
9486 vmcs_write32(GUEST_GS_LIMIT, vmcs12->guest_gs_limit); in prepare_vmcs02()
9487 vmcs_write32(GUEST_LDTR_LIMIT, vmcs12->guest_ldtr_limit); in prepare_vmcs02()
9488 vmcs_write32(GUEST_TR_LIMIT, vmcs12->guest_tr_limit); in prepare_vmcs02()
9489 vmcs_write32(GUEST_GDTR_LIMIT, vmcs12->guest_gdtr_limit); in prepare_vmcs02()
9490 vmcs_write32(GUEST_IDTR_LIMIT, vmcs12->guest_idtr_limit); in prepare_vmcs02()
9491 vmcs_write32(GUEST_ES_AR_BYTES, vmcs12->guest_es_ar_bytes); in prepare_vmcs02()
9492 vmcs_write32(GUEST_CS_AR_BYTES, vmcs12->guest_cs_ar_bytes); in prepare_vmcs02()
9493 vmcs_write32(GUEST_SS_AR_BYTES, vmcs12->guest_ss_ar_bytes); in prepare_vmcs02()
9494 vmcs_write32(GUEST_DS_AR_BYTES, vmcs12->guest_ds_ar_bytes); in prepare_vmcs02()
9495 vmcs_write32(GUEST_FS_AR_BYTES, vmcs12->guest_fs_ar_bytes); in prepare_vmcs02()
9496 vmcs_write32(GUEST_GS_AR_BYTES, vmcs12->guest_gs_ar_bytes); in prepare_vmcs02()
9497 vmcs_write32(GUEST_LDTR_AR_BYTES, vmcs12->guest_ldtr_ar_bytes); in prepare_vmcs02()
9498 vmcs_write32(GUEST_TR_AR_BYTES, vmcs12->guest_tr_ar_bytes); in prepare_vmcs02()
9517 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, in prepare_vmcs02()
9519 vmcs_write32(VM_ENTRY_EXCEPTION_ERROR_CODE, in prepare_vmcs02()
9521 vmcs_write32(VM_ENTRY_INSTRUCTION_LEN, in prepare_vmcs02()
9523 vmcs_write32(GUEST_INTERRUPTIBILITY_INFO, in prepare_vmcs02()
9525 vmcs_write32(GUEST_SYSENTER_CS, vmcs12->guest_sysenter_cs); in prepare_vmcs02()
9555 vmcs_write32(PIN_BASED_VM_EXEC_CONTROL, exec_control); in prepare_vmcs02()
9581 vmcs_write32(PAGE_FAULT_ERROR_CODE_MASK, in prepare_vmcs02()
9583 vmcs_write32(PAGE_FAULT_ERROR_CODE_MATCH, in prepare_vmcs02()
9632 vmcs_write32(SECONDARY_VM_EXEC_CONTROL, exec_control); in prepare_vmcs02()
9662 vmcs_write32(TPR_THRESHOLD, vmcs12->tpr_threshold); in prepare_vmcs02()
9679 vmcs_write32(CPU_BASED_VM_EXEC_CONTROL, exec_control); in prepare_vmcs02()
9693 vmcs_write32(VM_EXIT_CONTROLS, vmcs_config.vmexit_ctrl); in prepare_vmcs02()
10343 vmcs_write32(GUEST_SYSENTER_CS, vmcs12->host_ia32_sysenter_cs); in load_vmcs12_host_state()