I meant but forgot to mention in the commit message that I added the missing cinclude for XEN3_DOM0.local to amd64/conf/XEN3_DOM0.
On Thu, May 22, 2025 at 09:37:40AM +0000, Christoph Badura wrote: > Module Name: src > Committed By: bad > Date: Thu May 22 09:37:40 UTC 2025 > > Modified Files: > src/sys/arch/amd64/conf: XEN3_DOM0 XEN3_DOMU > src/sys/arch/i386/conf: XEN3PAE_DOM0 XEN3PAE_DOMU > > Log Message: > make XEN3 configs include XEN3.local instead of GENERIC.local > > The XEN device tree is not compatible with the non-XEN device tree. > > This means that one can't enable in GENERIC.local many devices that are > commented out in GENERIC. E.g, > > vio9p* at virtio? > i915drm* at drm? > qat* at pci? dev ? function ? > audio* at audiobus? > > Switch to including XEN3.local instead of GENERIC.local to have a common > file for local XEN3 specific configuration. > > See https://mail-index.netbsd.org/tech-kern/2024/08/11/msg029672.html for > the discussion. > > Note that GENERIC.local was added to most arches only in February 2023: > https://mail-index.netbsd.org/source-changes/2023/02/12/msg143277.html > > Addresses: PR port-xen/59438: GENERIC content can't be in GENERIC.local > because > of XEN3_DOM* kernels > > Should probably be pulled up to -10 and -9. > > > To generate a diff of this commit: > cvs rdiff -u -r1.203 -r1.204 src/sys/arch/amd64/conf/XEN3_DOM0 > cvs rdiff -u -r1.105 -r1.106 src/sys/arch/amd64/conf/XEN3_DOMU > cvs rdiff -u -r1.43 -r1.44 src/sys/arch/i386/conf/XEN3PAE_DOM0 > cvs rdiff -u -r1.24 -r1.25 src/sys/arch/i386/conf/XEN3PAE_DOMU > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. >