On 1/9/21 9:16 PM, BALATON Zoltan wrote: > The vt82c686b-pm model can be shared between VT82C686B and VT8231. The > only difference between the two is the device id in what we emulate so > make an abstract via-pm model by renaming appropriately and add types > for vt82c686b-pm and vt8231-pm based on it. > > Signed-off-by: BALATON Zoltan <bala...@eik.bme.hu> > --- > hw/isa/vt82c686.c | 84 ++++++++++++++++++++++++++------------- > include/hw/isa/vt82c686.h | 1 + > include/hw/pci/pci_ids.h | 3 +- > 3 files changed, 59 insertions(+), 29 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>