# Portability Linux KVM Profile Contract (K2471–K2475) - **Feature**: `portability.linux_kvm` (`K2471`..`K2475`) - **Crate**: `os-portability` (`linux_kvm` module) - **Runtime integration**: `turkos_kernel::runtime::portability_linux_kvm` - **Syscalls**: - `SYS_PORTABILITY_LINUX_KVM = 138` - `SYS_PORTABILITY_LINUX_KVM_RECEIPT = 139` - **EL0 programs**: - `k2475-mactcgaskvm` (negative enforcement; expected exit `0x2474`) - `k2475-linuxkvmboundary` (positive commit; expected exit `138`) ## Invariant & Acceptance Criteria - **Invariant**: `TCG veya Macte nested Linux KVM sayılmaz` — Neither QEMU TCG software emulation nor nested virtualization on macOS may be counted as a physical Linux KVM execution profile. - **Positive**: `Fiziksel ARM Linux gerçek KVM` — The Linux KVM portability profile records 1 validated physical ARM Linux KVM profile, 2 external boundary records, 1 KVM hardware attestation, and 0 macOS TCG-as-KVM false claims. - **Counterexample**: `Mac TCG sonucu K593 diye sunulur` — Attempting to present a macOS TCG result as `K593` (`MacTcgResultPresentedAsK593`), counting TCG or nested macOS virtualization as Linux KVM (`TcgOrNestedMacCountedAsLinuxKvm`), or marking missing external hardware reports as local PASS (`MissingExternalReportMarkedLocalPass`) is deterministically refused. - **Acceptance**: `Gerçek dış rapor yoksa external kalır` — Without a real external physical Linux KVM report, the boundary status remains explicitly external (`stays_external_without_real_report == true`).