I'm sending this v2 with tags added and small edits after Philippe's review for now, maybe these are already good to go. I've taken out a few patches that may need some more work but I've run out of free time for now so will have to come back to them later. I still could not cleanly add the VT8231 model which may need some more reorganising and found a few issues with the existin 868B that may need to be fixed first so those left out patches may change anyway so will be included in a future series.
Regards, BALATON Zoltan BALATON Zoltan (10): vt82c686: Rename AC97/MC97 parts from VT82C686B to VIA vt82c686: Remove unnecessary _DEVICE suffix from type macros vt82c686b: Rename VT82C686B to VT82C686B_ISA vt82c686: Remove vt82c686b_[am]c97_init() functions vt82c686: Split off via-[am]c97 into separate file in hw/audio audio/via-ac97: Simplify code and set user_creatable to false vt82c686: Remove legacy vt82c686b_isa_init() function vt82c686: Remove legacy vt82c686b_pm_init() function vt82c686: Convert debug printf to trace points vt82c686: Remove unneeded includes and defines hw/audio/meson.build | 1 + hw/audio/via-ac97.c | 93 ++++++++++++++++ hw/isa/trace-events | 6 ++ hw/isa/vt82c686.c | 217 +++++--------------------------------- hw/mips/fuloong2e.c | 13 ++- include/hw/isa/vt82c686.h | 12 +-- 6 files changed, 139 insertions(+), 203 deletions(-) create mode 100644 hw/audio/via-ac97.c -- 2.21.3