On Tue, Mar 05, 2019 at 04:42:06PM +0000, Wei Liu wrote: > + > PyMODINIT_FUNC > initxenfsimage(void)
So Python 3 requires the initialisation function to be called PyInit_xenfsimage, otherwise it can't find the entry point of this module. I have fixed this in my next version. Wei. > { > +#if PY_MAJOR_VERSION < 3 > Py_InitModule("xenfsimage", fsimage_module_methods); > +#else > + return PyModule_Create(&fsimage_module_def); > +#endif > } > -- > 2.11.0 > _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel