mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
i386: Use DEV_HYPERV to enable HyperV APIC vector
This avoids requiring both 'device hyperv' and 'options HYPERV' for kernel configs. Instead, just 'device hyperv' can now be used matching the kernel configuration used for amd64. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D44783 (cherry picked from commit e045163cce955c32332a02a8eb9a48f3c2cd3c3f)
This commit is contained in:
parent
c0e4d94873
commit
65e871e7c1
4 changed files with 2 additions and 5 deletions
|
|
@ -97,7 +97,7 @@ NPX_DEBUG opt_npx.h
|
|||
BPF_JITTER opt_bpf.h
|
||||
|
||||
# Hyper-V support
|
||||
HYPERV opt_hyperv.h
|
||||
DEV_HYPERV opt_hyperv.h
|
||||
|
||||
XENHVM opt_global.h
|
||||
|
||||
|
|
|
|||
|
|
@ -316,8 +316,6 @@ device virtio_balloon # VirtIO Memory Balloon device
|
|||
device kvm_clock # KVM paravirtual clock driver
|
||||
|
||||
# HyperV drivers and enhancement support
|
||||
# NOTE: HYPERV depends on hyperv. They must be added or removed together.
|
||||
options HYPERV # Kernel support for HyperV drivers
|
||||
device hyperv # HyperV drivers
|
||||
|
||||
# Xen HVM Guest Optimizations
|
||||
|
|
|
|||
|
|
@ -660,7 +660,6 @@ device kvm_clock # KVM paravirtual clock driver
|
|||
# Google Virtual NIC
|
||||
device gve # Google Virtual NIC (gVNIC) driver
|
||||
|
||||
options HYPERV
|
||||
device hyperv # HyperV drivers
|
||||
device hvhid # HyperV HID device
|
||||
|
||||
|
|
|
|||
|
|
@ -450,7 +450,7 @@ ENTRY(fork_trampoline)
|
|||
#include <i386/i386/apic_vector.S>
|
||||
#endif
|
||||
|
||||
#ifdef HYPERV
|
||||
#ifdef DEV_HYPERV
|
||||
.data
|
||||
.p2align 4
|
||||
.text
|
||||
|
|
|
|||
Loading…
Reference in a new issue