xen/timer: fix amd64 LINT kernel build
On amd64 XENHVM depends on the xentimer device for PVH early startup,
so both should be added or removed together (like the current
dependency with xenpci). Fix this by adding xentimer to NOTES and
updating the comments on the config files. Note that on i386 there's
no such dependency between xentimer and XENHVM, since there's no PVH
support.
While there also fix the MINIMAL i386 build to include the xentimer,
so it keeps the same functionality as before xentimer was split from
XENHVM.
Reported by: lwhsu
PR: 257549
Fixes: ae59812748
('xen/timer: make xen timer optional')
This commit is contained in:
parent
9340ebd404
commit
82bf6a2566
@ -380,8 +380,8 @@ device virtio_balloon # VirtIO Memory Balloon device
|
||||
device hyperv # HyperV drivers
|
||||
|
||||
# Xen HVM Guest Optimizations
|
||||
# NOTE: XENHVM and xenpci interdepend. They must be added or removed
|
||||
# together. xentimer depends on XENHVM and isn't required.
|
||||
# NOTE: XENHVM depends on xenpci and xentimer.
|
||||
# They must be added or removed together.
|
||||
options XENHVM # Xen HVM kernel infrastructure
|
||||
device xenpci # Xen HVM Hypervisor services driver
|
||||
device xentimer # Xen x86 PV timer device
|
||||
|
@ -132,9 +132,11 @@ device ether # Ethernet support
|
||||
device bpf # Berkeley packet filter
|
||||
|
||||
# Xen HVM Guest Optimizations
|
||||
# NOTE: XENHVM depends on xenpci. They must be added or removed together.
|
||||
# NOTE: XENHVM depends on xenpci and xentimer.
|
||||
# They must be added or removed together.
|
||||
options XENHVM # Xen HVM kernel infrastructure
|
||||
device xenpci # Xen HVM Hypervisor services driver
|
||||
device xentimer # Xen x86 PV timer device
|
||||
|
||||
# evdev interface
|
||||
options EVDEV_SUPPORT # evdev support in legacy drivers
|
||||
|
@ -504,6 +504,7 @@ device hyperv # HyperV drivers
|
||||
# Xen HVM Guest Optimizations
|
||||
options XENHVM # Xen HVM kernel infrastructure
|
||||
device xenpci # Xen HVM Hypervisor services driver
|
||||
device xentimer # Xen x86 PV timer device
|
||||
|
||||
#####################################################################
|
||||
|
||||
|
@ -149,6 +149,7 @@ device bpf # Berkeley packet filter
|
||||
# NOTE: XENHVM depends on xenpci. They must be added or removed together.
|
||||
options XENHVM # Xen HVM kernel infrastructure
|
||||
device xenpci # Xen HVM Hypervisor services driver
|
||||
device xentimer # Xen x86 PV timer device
|
||||
|
||||
# evdev interface
|
||||
options EVDEV_SUPPORT # evdev support in legacy drivers
|
||||
|
Loading…
Reference in New Issue
Block a user