arch/x86/kvm/svm/svm_onhyperv.c

Source file repositories/reference/linux-study-clean/arch/x86/kvm/svm/svm_onhyperv.c

File Facts

System
Linux kernel
Corpus path
arch/x86/kvm/svm/svm_onhyperv.c
Extension
.c
Size
1644 bytes
Lines
64
Domain
Architecture Layer
Bucket
arch/x86
Inferred role
Architecture Layer: implementation source
Status
source 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.

Dependency Surface

Detected Declarations

Annotated Snippet

for_each_online_cpu(cpu) {
			struct hv_vp_assist_page *vp_ap =
				hv_get_vp_assist_page(cpu);

			if (!vp_ap)
				continue;

			vp_ap->nested_control.features.directhypercall = 1;
		}
		svm_x86_ops.enable_l2_tlb_flush =
				svm_hv_enable_l2_tlb_flush;
	}
}

Annotation

Implementation Notes