arch/x86/kvm/vmx/main.c
Source file repositories/reference/linux-study-clean/arch/x86/kvm/vmx/main.c
File Facts
- System
- Linux kernel
- Corpus path
arch/x86/kvm/vmx/main.c- Extension
.c- Size
- 23645 bytes
- Lines
- 1089
- Domain
- Architecture Layer
- Bucket
- arch/x86
- Inferred role
- Architecture Layer: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/moduleparam.hx86_ops.hvmx.hmmu.hnested.hpmu.hposted_intr.htdx.htdx_arch.h
Detected Declarations
function vt_disable_virtualization_cpufunction vt_hardware_setupfunction vt_hardware_unsetupfunction vt_vm_initfunction vt_vm_pre_destroyfunction vt_vm_destroyfunction vt_vcpu_precreatefunction vt_vcpu_createfunction vt_vcpu_freefunction vt_vcpu_resetfunction vt_vcpu_loadfunction vt_update_cpu_dirty_loggingfunction vt_prepare_switch_to_guestfunction vt_vcpu_putfunction vt_vcpu_pre_runfunction vt_vcpu_runfunction vt_handle_exitfunction vt_set_msrfunction NULLfunction vt_get_msrfunction vt_recalc_interceptsfunction vt_complete_emulated_msrfunction vt_smi_allowedfunction vt_enter_smmfunction vt_leave_smmfunction vt_enable_smi_windowfunction vt_check_emulate_instructionfunction vt_apic_init_signal_blockedfunction vt_set_virtual_apic_modefunction vt_hwapic_isr_updatefunction vt_sync_pir_to_irrfunction vt_deliver_interruptfunction vt_vcpu_after_set_cpuidfunction vt_update_exception_bitmapfunction vt_get_segment_basefunction vt_get_segmentfunction vt_set_segmentfunction vt_get_cplfunction vt_get_cpl_no_cachefunction vt_get_cs_db_l_bitsfunction vt_is_valid_cr0function vt_set_cr0function vt_is_valid_cr4function vt_set_cr4function vt_set_eferfunction vt_get_idtfunction vt_set_idtfunction vt_get_gdt
Annotated Snippet
module_init(vt_init);
Annotation
- Immediate include surface: `linux/moduleparam.h`, `x86_ops.h`, `vmx.h`, `mmu.h`, `nested.h`, `pmu.h`, `posted_intr.h`, `tdx.h`.
- Detected declarations: `function vt_disable_virtualization_cpu`, `function vt_hardware_setup`, `function vt_hardware_unsetup`, `function vt_vm_init`, `function vt_vm_pre_destroy`, `function vt_vm_destroy`, `function vt_vcpu_precreate`, `function vt_vcpu_create`, `function vt_vcpu_free`, `function vt_vcpu_reset`.
- Atlas domain: Architecture Layer / arch/x86.
- Implementation status: integration implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.