Hi, I find that in module.c typedef struct ModuleEntry { module_init_type type; void (*init)(void); QTAILQ_ENTRY(ModuleEntry) node; } ModuleEntry;
The field `type` in `ModuleEntry` is not set in `register_module_init`. As different types of modules use their own list, I guess this field is no long being used, and I have no problem compiling QEMU after deleting this filed. Is there any reason to preserve this field? My previous email seems failed to deliver to the mailing list, forgive me if this one duplicates. -- Best regards, Chen Yufei