opnsense-src/sys/amd64
Zhenlei Huang f3ff0918ff vmx: Prefer consistent naming for loader tunables
The following loader tunables do have corresponding sysctl MIBs but
with different names. That may be historical reason. Let's prefer
consistent naming for them so that it will be easier to read and
maintain.

 1. hw.vmm.l1d_flush -> hw.vmm.vmx.l1d_flush
 2. hw.vmm.l1d_flush_sw -> hw.vmm.vmx.l1d_flush_sw
 3. hw.vmm.vmx.use_apic_pir -> hw.vmm.vmx.cap.posted_interrupts
 4. hw.vmm.vmx.use_apic_vid -> hw.vmm.vmx.cap.virtual_interrupt_delivery
 5. hw.vmm.vmx.use_tpr_shadowing -> hw.vmm.vmx.cap.tpr_shadowing

Old names are kept for compatibility.

Meanwhile, add sysctl flag CTLFLAG_TUN to them so that `sysctl -T` will
report them correctly.

Reviewed by:	corvink, jhb, kib, #bhyve
MFC after:	5 days
Differential Revision:	https://reviews.freebsd.org/D42251
2023-10-20 01:18:25 +08:00
..
acpica x86: AMD Zen2: Zenbleed chicken bit mitigation 2023-10-02 15:29:18 -04:00
amd64 amd64: Fix two typos of loader tunables 2023-10-19 23:23:33 +08:00
conf Add a COMPAT_FREEBSD14 kernel option 2023-10-10 11:48:22 +02:00
ia32 syscalls: fix missing SIGSYS for several ENOSYS errors 2023-10-03 01:30:52 +03:00
include sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
linux linux(4): Deduplicate SystemV IPC defines from amd64/linux 2023-10-04 21:18:45 +03:00
linux32 linux(4): Drop the outdated comments about sixth register on i386 int0x80 2023-10-10 12:33:22 +03:00
pci sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
sgx sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
vmm vmx: Prefer consistent naming for loader tunables 2023-10-20 01:18:25 +08:00
Makefile sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00