[Bug 288909] Added tunable hw.vmm.enable_vtd to vmm manpage
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 288909] Added tunable hw.vmm.enable_vtd to vmm manpage"
 - Go to: [ bottom of page ] [ top of archives ] [ this month ]
 
Date: Fri, 29 Aug 2025 13:32:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288909
--- Comment #23 from Clint Street <clint.street@gmail.com> ---
(In reply to Dag-Erling Smørgrav from comment #22)
You are correct this tunable does not exist, but what about the tunables below:
sys/amd64/vmm/amd/amdvi_hw.c:83:TUNABLE_INT("hw.vmm.amdvi_enable",
&amdvi_enable_user);
sys/amd64/vmm/amd/amdvi_hw.c:90:TUNABLE_INT("hw.vmm.enable_iotlb",
&amdvi_enable_iotlb);
sys/amd64/vmm/amd/amdvi_hw.c:96:TUNABLE_INT("hw.vmm.amdvi.host_ptp",
&amdvi_host_ptp);
sys/amd64/vmm/amd/amdvi_hw.c:102:TUNABLE_INT("hw.vmm.amdvi.ptp_level",
&amdvi_ptp_level);
sys/amd64/vmm/amd/amdvi_hw.c:108:TUNABLE_INT("hw.vmm.amdvi.disable_io_fault",
&amdvi_disable_io_fault);
sys/amd64/vmm/amd/npt.c:60:TUNABLE_INT_FETCH("hw.vmm.npt.enable_superpage",
&enable_superpage);
sys/amd64/vmm/vmm.c:411: TUNABLE_INT_FETCH("hw.vmm.vmx.use_tpr_shadowing",
sys/amd64/vmm/intel/vmx.c:842:
TUNABLE_INT_FETCH("hw.vmm.vmx.cap.tpr_shadowing",
sys/amd64/vmm/intel/vmx.c:865: TUNABLE_INT_FETCH("hw.vmm.vmx.use_apic_vid",
sys/amd64/vmm/intel/vmx.c:868:TUNABLE_INT_FETCH("hw.vmm.vmx.cap.virtual_interrupt_delivery",
sys/amd64/vmm/intel/vmx.c:896: TUNABLE_INT_FETCH("hw.vmm.vmx.use_apic_pir",
sys/amd64/vmm/intel/vmx.c:899:TUNABLE_INT_FETCH("hw.vmm.vmx.cap.posted_interrupts",
sys/amd64/vmm/intel/vmx.c:918:TUNABLE_INT_FETCH("hw.vmm.l1d_flush",
&guest_l1d_flush);
sys/amd64/vmm/intel/vmx.c:920:TUNABLE_INT_FETCH("hw.vmm.vmx.l1d_flush",
&guest_l1d_flush);
sys/amd64/vmm/intel/vmx.c:933:TUNABLE_INT_FETCH("hw.vmm.l1d_flush_sw",
sys/amd64/vmm/intel/vmx.c:936:TUNABLE_INT_FETCH("hw.vmm.vmx.l1d_flush_sw",
sys/amd64/vmm/intel/ept.c:102:TUNABLE_INT_FETCH("hw.vmm.ept.use_superpages",
&use_superpages);
sys/amd64/vmm/intel/ept.c:107:TUNABLE_INT_FETCH("hw.vmm.ept.use_hw_ad_bits",
&use_hw_ad_bits);
sys/amd64/vmm/intel/ept.c:114:TUNABLE_INT_FETCH("hw.vmm.ept.use_exec_only",
&use_exec_only);
Can I add these to the vmm manpage?
I found the issue with my setup was that I had to replace vmm.ko from the
directories /boot/modules and /boot/kernel in order to get it working. I have
removed the enable_vtd tunable and GPU passthrough works with the patches from
Corvin and by changing the hypervisor signature to "KVMKVMKVM\0\0\0".
-- 
You are receiving this mail because:
You are on the CC list for the bug.