Lines Matching refs:current_evmcs

222 extern struct hv_enlightened_vmcs *current_evmcs;
246 current_evmcs = vmcs; in evmcs_vmptrld()
263 *value = current_evmcs->guest_rip; in evmcs_vmread()
266 *value = current_evmcs->guest_rsp; in evmcs_vmread()
269 *value = current_evmcs->guest_rflags; in evmcs_vmread()
272 *value = current_evmcs->host_ia32_pat; in evmcs_vmread()
275 *value = current_evmcs->host_ia32_efer; in evmcs_vmread()
278 *value = current_evmcs->host_cr0; in evmcs_vmread()
281 *value = current_evmcs->host_cr3; in evmcs_vmread()
284 *value = current_evmcs->host_cr4; in evmcs_vmread()
287 *value = current_evmcs->host_ia32_sysenter_esp; in evmcs_vmread()
290 *value = current_evmcs->host_ia32_sysenter_eip; in evmcs_vmread()
293 *value = current_evmcs->host_rip; in evmcs_vmread()
296 *value = current_evmcs->io_bitmap_a; in evmcs_vmread()
299 *value = current_evmcs->io_bitmap_b; in evmcs_vmread()
302 *value = current_evmcs->msr_bitmap; in evmcs_vmread()
305 *value = current_evmcs->guest_es_base; in evmcs_vmread()
308 *value = current_evmcs->guest_cs_base; in evmcs_vmread()
311 *value = current_evmcs->guest_ss_base; in evmcs_vmread()
314 *value = current_evmcs->guest_ds_base; in evmcs_vmread()
317 *value = current_evmcs->guest_fs_base; in evmcs_vmread()
320 *value = current_evmcs->guest_gs_base; in evmcs_vmread()
323 *value = current_evmcs->guest_ldtr_base; in evmcs_vmread()
326 *value = current_evmcs->guest_tr_base; in evmcs_vmread()
329 *value = current_evmcs->guest_gdtr_base; in evmcs_vmread()
332 *value = current_evmcs->guest_idtr_base; in evmcs_vmread()
335 *value = current_evmcs->tsc_offset; in evmcs_vmread()
338 *value = current_evmcs->virtual_apic_page_addr; in evmcs_vmread()
341 *value = current_evmcs->vmcs_link_pointer; in evmcs_vmread()
344 *value = current_evmcs->guest_ia32_debugctl; in evmcs_vmread()
347 *value = current_evmcs->guest_ia32_pat; in evmcs_vmread()
350 *value = current_evmcs->guest_ia32_efer; in evmcs_vmread()
353 *value = current_evmcs->guest_pdptr0; in evmcs_vmread()
356 *value = current_evmcs->guest_pdptr1; in evmcs_vmread()
359 *value = current_evmcs->guest_pdptr2; in evmcs_vmread()
362 *value = current_evmcs->guest_pdptr3; in evmcs_vmread()
365 *value = current_evmcs->guest_pending_dbg_exceptions; in evmcs_vmread()
368 *value = current_evmcs->guest_sysenter_esp; in evmcs_vmread()
371 *value = current_evmcs->guest_sysenter_eip; in evmcs_vmread()
374 *value = current_evmcs->cr0_guest_host_mask; in evmcs_vmread()
377 *value = current_evmcs->cr4_guest_host_mask; in evmcs_vmread()
380 *value = current_evmcs->cr0_read_shadow; in evmcs_vmread()
383 *value = current_evmcs->cr4_read_shadow; in evmcs_vmread()
386 *value = current_evmcs->guest_cr0; in evmcs_vmread()
389 *value = current_evmcs->guest_cr3; in evmcs_vmread()
392 *value = current_evmcs->guest_cr4; in evmcs_vmread()
395 *value = current_evmcs->guest_dr7; in evmcs_vmread()
398 *value = current_evmcs->host_fs_base; in evmcs_vmread()
401 *value = current_evmcs->host_gs_base; in evmcs_vmread()
404 *value = current_evmcs->host_tr_base; in evmcs_vmread()
407 *value = current_evmcs->host_gdtr_base; in evmcs_vmread()
410 *value = current_evmcs->host_idtr_base; in evmcs_vmread()
413 *value = current_evmcs->host_rsp; in evmcs_vmread()
416 *value = current_evmcs->ept_pointer; in evmcs_vmread()
419 *value = current_evmcs->guest_bndcfgs; in evmcs_vmread()
422 *value = current_evmcs->xss_exit_bitmap; in evmcs_vmread()
425 *value = current_evmcs->guest_physical_address; in evmcs_vmread()
428 *value = current_evmcs->exit_qualification; in evmcs_vmread()
431 *value = current_evmcs->guest_linear_address; in evmcs_vmread()
434 *value = current_evmcs->vm_exit_msr_store_addr; in evmcs_vmread()
437 *value = current_evmcs->vm_exit_msr_load_addr; in evmcs_vmread()
440 *value = current_evmcs->vm_entry_msr_load_addr; in evmcs_vmread()
443 *value = current_evmcs->cr3_target_value0; in evmcs_vmread()
446 *value = current_evmcs->cr3_target_value1; in evmcs_vmread()
449 *value = current_evmcs->cr3_target_value2; in evmcs_vmread()
452 *value = current_evmcs->cr3_target_value3; in evmcs_vmread()
455 *value = current_evmcs->tpr_threshold; in evmcs_vmread()
458 *value = current_evmcs->guest_interruptibility_info; in evmcs_vmread()
461 *value = current_evmcs->cpu_based_vm_exec_control; in evmcs_vmread()
464 *value = current_evmcs->exception_bitmap; in evmcs_vmread()
467 *value = current_evmcs->vm_entry_controls; in evmcs_vmread()
470 *value = current_evmcs->vm_entry_intr_info_field; in evmcs_vmread()
473 *value = current_evmcs->vm_entry_exception_error_code; in evmcs_vmread()
476 *value = current_evmcs->vm_entry_instruction_len; in evmcs_vmread()
479 *value = current_evmcs->host_ia32_sysenter_cs; in evmcs_vmread()
482 *value = current_evmcs->pin_based_vm_exec_control; in evmcs_vmread()
485 *value = current_evmcs->vm_exit_controls; in evmcs_vmread()
488 *value = current_evmcs->secondary_vm_exec_control; in evmcs_vmread()
491 *value = current_evmcs->guest_es_limit; in evmcs_vmread()
494 *value = current_evmcs->guest_cs_limit; in evmcs_vmread()
497 *value = current_evmcs->guest_ss_limit; in evmcs_vmread()
500 *value = current_evmcs->guest_ds_limit; in evmcs_vmread()
503 *value = current_evmcs->guest_fs_limit; in evmcs_vmread()
506 *value = current_evmcs->guest_gs_limit; in evmcs_vmread()
509 *value = current_evmcs->guest_ldtr_limit; in evmcs_vmread()
512 *value = current_evmcs->guest_tr_limit; in evmcs_vmread()
515 *value = current_evmcs->guest_gdtr_limit; in evmcs_vmread()
518 *value = current_evmcs->guest_idtr_limit; in evmcs_vmread()
521 *value = current_evmcs->guest_es_ar_bytes; in evmcs_vmread()
524 *value = current_evmcs->guest_cs_ar_bytes; in evmcs_vmread()
527 *value = current_evmcs->guest_ss_ar_bytes; in evmcs_vmread()
530 *value = current_evmcs->guest_ds_ar_bytes; in evmcs_vmread()
533 *value = current_evmcs->guest_fs_ar_bytes; in evmcs_vmread()
536 *value = current_evmcs->guest_gs_ar_bytes; in evmcs_vmread()
539 *value = current_evmcs->guest_ldtr_ar_bytes; in evmcs_vmread()
542 *value = current_evmcs->guest_tr_ar_bytes; in evmcs_vmread()
545 *value = current_evmcs->guest_activity_state; in evmcs_vmread()
548 *value = current_evmcs->guest_sysenter_cs; in evmcs_vmread()
551 *value = current_evmcs->vm_instruction_error; in evmcs_vmread()
554 *value = current_evmcs->vm_exit_reason; in evmcs_vmread()
557 *value = current_evmcs->vm_exit_intr_info; in evmcs_vmread()
560 *value = current_evmcs->vm_exit_intr_error_code; in evmcs_vmread()
563 *value = current_evmcs->idt_vectoring_info_field; in evmcs_vmread()
566 *value = current_evmcs->idt_vectoring_error_code; in evmcs_vmread()
569 *value = current_evmcs->vm_exit_instruction_len; in evmcs_vmread()
572 *value = current_evmcs->vmx_instruction_info; in evmcs_vmread()
575 *value = current_evmcs->page_fault_error_code_mask; in evmcs_vmread()
578 *value = current_evmcs->page_fault_error_code_match; in evmcs_vmread()
581 *value = current_evmcs->cr3_target_count; in evmcs_vmread()
584 *value = current_evmcs->vm_exit_msr_store_count; in evmcs_vmread()
587 *value = current_evmcs->vm_exit_msr_load_count; in evmcs_vmread()
590 *value = current_evmcs->vm_entry_msr_load_count; in evmcs_vmread()
593 *value = current_evmcs->host_es_selector; in evmcs_vmread()
596 *value = current_evmcs->host_cs_selector; in evmcs_vmread()
599 *value = current_evmcs->host_ss_selector; in evmcs_vmread()
602 *value = current_evmcs->host_ds_selector; in evmcs_vmread()
605 *value = current_evmcs->host_fs_selector; in evmcs_vmread()
608 *value = current_evmcs->host_gs_selector; in evmcs_vmread()
611 *value = current_evmcs->host_tr_selector; in evmcs_vmread()
614 *value = current_evmcs->guest_es_selector; in evmcs_vmread()
617 *value = current_evmcs->guest_cs_selector; in evmcs_vmread()
620 *value = current_evmcs->guest_ss_selector; in evmcs_vmread()
623 *value = current_evmcs->guest_ds_selector; in evmcs_vmread()
626 *value = current_evmcs->guest_fs_selector; in evmcs_vmread()
629 *value = current_evmcs->guest_gs_selector; in evmcs_vmread()
632 *value = current_evmcs->guest_ldtr_selector; in evmcs_vmread()
635 *value = current_evmcs->guest_tr_selector; in evmcs_vmread()
638 *value = current_evmcs->virtual_processor_id; in evmcs_vmread()
650 current_evmcs->guest_rip = value; in evmcs_vmwrite()
653 current_evmcs->guest_rsp = value; in evmcs_vmwrite()
656 current_evmcs->guest_rflags = value; in evmcs_vmwrite()
659 current_evmcs->host_ia32_pat = value; in evmcs_vmwrite()
662 current_evmcs->host_ia32_efer = value; in evmcs_vmwrite()
665 current_evmcs->host_cr0 = value; in evmcs_vmwrite()
668 current_evmcs->host_cr3 = value; in evmcs_vmwrite()
671 current_evmcs->host_cr4 = value; in evmcs_vmwrite()
674 current_evmcs->host_ia32_sysenter_esp = value; in evmcs_vmwrite()
677 current_evmcs->host_ia32_sysenter_eip = value; in evmcs_vmwrite()
680 current_evmcs->host_rip = value; in evmcs_vmwrite()
683 current_evmcs->io_bitmap_a = value; in evmcs_vmwrite()
686 current_evmcs->io_bitmap_b = value; in evmcs_vmwrite()
689 current_evmcs->msr_bitmap = value; in evmcs_vmwrite()
692 current_evmcs->guest_es_base = value; in evmcs_vmwrite()
695 current_evmcs->guest_cs_base = value; in evmcs_vmwrite()
698 current_evmcs->guest_ss_base = value; in evmcs_vmwrite()
701 current_evmcs->guest_ds_base = value; in evmcs_vmwrite()
704 current_evmcs->guest_fs_base = value; in evmcs_vmwrite()
707 current_evmcs->guest_gs_base = value; in evmcs_vmwrite()
710 current_evmcs->guest_ldtr_base = value; in evmcs_vmwrite()
713 current_evmcs->guest_tr_base = value; in evmcs_vmwrite()
716 current_evmcs->guest_gdtr_base = value; in evmcs_vmwrite()
719 current_evmcs->guest_idtr_base = value; in evmcs_vmwrite()
722 current_evmcs->tsc_offset = value; in evmcs_vmwrite()
725 current_evmcs->virtual_apic_page_addr = value; in evmcs_vmwrite()
728 current_evmcs->vmcs_link_pointer = value; in evmcs_vmwrite()
731 current_evmcs->guest_ia32_debugctl = value; in evmcs_vmwrite()
734 current_evmcs->guest_ia32_pat = value; in evmcs_vmwrite()
737 current_evmcs->guest_ia32_efer = value; in evmcs_vmwrite()
740 current_evmcs->guest_pdptr0 = value; in evmcs_vmwrite()
743 current_evmcs->guest_pdptr1 = value; in evmcs_vmwrite()
746 current_evmcs->guest_pdptr2 = value; in evmcs_vmwrite()
749 current_evmcs->guest_pdptr3 = value; in evmcs_vmwrite()
752 current_evmcs->guest_pending_dbg_exceptions = value; in evmcs_vmwrite()
755 current_evmcs->guest_sysenter_esp = value; in evmcs_vmwrite()
758 current_evmcs->guest_sysenter_eip = value; in evmcs_vmwrite()
761 current_evmcs->cr0_guest_host_mask = value; in evmcs_vmwrite()
764 current_evmcs->cr4_guest_host_mask = value; in evmcs_vmwrite()
767 current_evmcs->cr0_read_shadow = value; in evmcs_vmwrite()
770 current_evmcs->cr4_read_shadow = value; in evmcs_vmwrite()
773 current_evmcs->guest_cr0 = value; in evmcs_vmwrite()
776 current_evmcs->guest_cr3 = value; in evmcs_vmwrite()
779 current_evmcs->guest_cr4 = value; in evmcs_vmwrite()
782 current_evmcs->guest_dr7 = value; in evmcs_vmwrite()
785 current_evmcs->host_fs_base = value; in evmcs_vmwrite()
788 current_evmcs->host_gs_base = value; in evmcs_vmwrite()
791 current_evmcs->host_tr_base = value; in evmcs_vmwrite()
794 current_evmcs->host_gdtr_base = value; in evmcs_vmwrite()
797 current_evmcs->host_idtr_base = value; in evmcs_vmwrite()
800 current_evmcs->host_rsp = value; in evmcs_vmwrite()
803 current_evmcs->ept_pointer = value; in evmcs_vmwrite()
806 current_evmcs->guest_bndcfgs = value; in evmcs_vmwrite()
809 current_evmcs->xss_exit_bitmap = value; in evmcs_vmwrite()
812 current_evmcs->guest_physical_address = value; in evmcs_vmwrite()
815 current_evmcs->exit_qualification = value; in evmcs_vmwrite()
818 current_evmcs->guest_linear_address = value; in evmcs_vmwrite()
821 current_evmcs->vm_exit_msr_store_addr = value; in evmcs_vmwrite()
824 current_evmcs->vm_exit_msr_load_addr = value; in evmcs_vmwrite()
827 current_evmcs->vm_entry_msr_load_addr = value; in evmcs_vmwrite()
830 current_evmcs->cr3_target_value0 = value; in evmcs_vmwrite()
833 current_evmcs->cr3_target_value1 = value; in evmcs_vmwrite()
836 current_evmcs->cr3_target_value2 = value; in evmcs_vmwrite()
839 current_evmcs->cr3_target_value3 = value; in evmcs_vmwrite()
842 current_evmcs->tpr_threshold = value; in evmcs_vmwrite()
845 current_evmcs->guest_interruptibility_info = value; in evmcs_vmwrite()
848 current_evmcs->cpu_based_vm_exec_control = value; in evmcs_vmwrite()
851 current_evmcs->exception_bitmap = value; in evmcs_vmwrite()
854 current_evmcs->vm_entry_controls = value; in evmcs_vmwrite()
857 current_evmcs->vm_entry_intr_info_field = value; in evmcs_vmwrite()
860 current_evmcs->vm_entry_exception_error_code = value; in evmcs_vmwrite()
863 current_evmcs->vm_entry_instruction_len = value; in evmcs_vmwrite()
866 current_evmcs->host_ia32_sysenter_cs = value; in evmcs_vmwrite()
869 current_evmcs->pin_based_vm_exec_control = value; in evmcs_vmwrite()
872 current_evmcs->vm_exit_controls = value; in evmcs_vmwrite()
875 current_evmcs->secondary_vm_exec_control = value; in evmcs_vmwrite()
878 current_evmcs->guest_es_limit = value; in evmcs_vmwrite()
881 current_evmcs->guest_cs_limit = value; in evmcs_vmwrite()
884 current_evmcs->guest_ss_limit = value; in evmcs_vmwrite()
887 current_evmcs->guest_ds_limit = value; in evmcs_vmwrite()
890 current_evmcs->guest_fs_limit = value; in evmcs_vmwrite()
893 current_evmcs->guest_gs_limit = value; in evmcs_vmwrite()
896 current_evmcs->guest_ldtr_limit = value; in evmcs_vmwrite()
899 current_evmcs->guest_tr_limit = value; in evmcs_vmwrite()
902 current_evmcs->guest_gdtr_limit = value; in evmcs_vmwrite()
905 current_evmcs->guest_idtr_limit = value; in evmcs_vmwrite()
908 current_evmcs->guest_es_ar_bytes = value; in evmcs_vmwrite()
911 current_evmcs->guest_cs_ar_bytes = value; in evmcs_vmwrite()
914 current_evmcs->guest_ss_ar_bytes = value; in evmcs_vmwrite()
917 current_evmcs->guest_ds_ar_bytes = value; in evmcs_vmwrite()
920 current_evmcs->guest_fs_ar_bytes = value; in evmcs_vmwrite()
923 current_evmcs->guest_gs_ar_bytes = value; in evmcs_vmwrite()
926 current_evmcs->guest_ldtr_ar_bytes = value; in evmcs_vmwrite()
929 current_evmcs->guest_tr_ar_bytes = value; in evmcs_vmwrite()
932 current_evmcs->guest_activity_state = value; in evmcs_vmwrite()
935 current_evmcs->guest_sysenter_cs = value; in evmcs_vmwrite()
938 current_evmcs->vm_instruction_error = value; in evmcs_vmwrite()
941 current_evmcs->vm_exit_reason = value; in evmcs_vmwrite()
944 current_evmcs->vm_exit_intr_info = value; in evmcs_vmwrite()
947 current_evmcs->vm_exit_intr_error_code = value; in evmcs_vmwrite()
950 current_evmcs->idt_vectoring_info_field = value; in evmcs_vmwrite()
953 current_evmcs->idt_vectoring_error_code = value; in evmcs_vmwrite()
956 current_evmcs->vm_exit_instruction_len = value; in evmcs_vmwrite()
959 current_evmcs->vmx_instruction_info = value; in evmcs_vmwrite()
962 current_evmcs->page_fault_error_code_mask = value; in evmcs_vmwrite()
965 current_evmcs->page_fault_error_code_match = value; in evmcs_vmwrite()
968 current_evmcs->cr3_target_count = value; in evmcs_vmwrite()
971 current_evmcs->vm_exit_msr_store_count = value; in evmcs_vmwrite()
974 current_evmcs->vm_exit_msr_load_count = value; in evmcs_vmwrite()
977 current_evmcs->vm_entry_msr_load_count = value; in evmcs_vmwrite()
980 current_evmcs->host_es_selector = value; in evmcs_vmwrite()
983 current_evmcs->host_cs_selector = value; in evmcs_vmwrite()
986 current_evmcs->host_ss_selector = value; in evmcs_vmwrite()
989 current_evmcs->host_ds_selector = value; in evmcs_vmwrite()
992 current_evmcs->host_fs_selector = value; in evmcs_vmwrite()
995 current_evmcs->host_gs_selector = value; in evmcs_vmwrite()
998 current_evmcs->host_tr_selector = value; in evmcs_vmwrite()
1001 current_evmcs->guest_es_selector = value; in evmcs_vmwrite()
1004 current_evmcs->guest_cs_selector = value; in evmcs_vmwrite()
1007 current_evmcs->guest_ss_selector = value; in evmcs_vmwrite()
1010 current_evmcs->guest_ds_selector = value; in evmcs_vmwrite()
1013 current_evmcs->guest_fs_selector = value; in evmcs_vmwrite()
1016 current_evmcs->guest_gs_selector = value; in evmcs_vmwrite()
1019 current_evmcs->guest_ldtr_selector = value; in evmcs_vmwrite()
1022 current_evmcs->guest_tr_selector = value; in evmcs_vmwrite()
1025 current_evmcs->virtual_processor_id = value; in evmcs_vmwrite()
1037 current_evmcs->hv_clean_fields = 0; in evmcs_vmlaunch()
1058 ((uint64_t)&current_evmcs->host_rsp), in evmcs_vmlaunch()
1060 ((uint64_t)&current_evmcs->host_rip) in evmcs_vmlaunch()
1073 current_evmcs->hv_clean_fields = 0; in evmcs_vmresume()
1094 ((uint64_t)&current_evmcs->host_rsp), in evmcs_vmresume()
1096 ((uint64_t)&current_evmcs->host_rip) in evmcs_vmresume()