On Mon, Dec 1, 2025 at 7:49 AM Zhu Yanjun <[email protected]> wrote: > 在 2025/11/27 20:56, Zhu Yanjun 写道: > > Hi, David > > > > ERROR: modpost: "liveupdate_register_file_handler" [drivers/vfio/pci/ > > vfio-pci-core.ko] undefined! > > > > ERROR: modpost: "vfio_pci_ops" [drivers/vfio/pci/vfio-pci-core.ko] > > undefined! > > ERROR: modpost: "liveupdate_enabled" [drivers/vfio/pci/vfio-pci-core.ko] > > undefined! > > ERROR: modpost: "liveupdate_unregister_file_handler" [drivers/vfio/pci/ > > vfio-pci-core.ko] undefined! > > ERROR: modpost: "vfio_device_fops" [drivers/vfio/pci/vfio-pci-core.ko] > > undefined! > > ERROR: modpost: "vfio_pci_is_intel_display" [drivers/vfio/pci/vfio-pci- > > core.ko] undefined! > > ERROR: modpost: "vfio_pci_liveupdate_init" [drivers/vfio/pci/vfio- > > pci.ko] undefined! > > ERROR: modpost: "vfio_pci_liveupdate_cleanup" [drivers/vfio/pci/vfio- > > pci.ko] undefined! > > make[4]: *** [scripts/Makefile.modpost:147: Module.symvers] Error 1 > > make[3]: *** [Makefile:1960: modpost] Error 2 > > > > After I git clone the source code from the link https://github.com/ > > dmatlack/linux/tree/liveupdate/vfio/cdev/v1, > > > > I found the above errors when I built the source code. > > > > Perhaps the above errors can be solved by EXPORT_SYMBOL. > > > > But I am not sure if a better solution can solve the above problems or not. > > I reviewed this patch series in detail. If I’m understanding it > correctly, there appears to be a cyclic dependency issue. Specifically, > some functions in kernel module A depend on kernel module B, while at > the same time certain functions in module B depend on module A. > > I’m not entirely sure whether this constitutes a real problem or if it’s > intentional design.
Thanks for your report. Can you share the .config file you used to generate these errors?

