Re: [PATCH 05/12] vt82c686: Make vt82c686b-pm an abstract base class and add vt8231-pm based on it

2021-01-07 Thread BALATON Zoltan
On Thu, 7 Jan 2021, Igor Mammedov wrote: On Thu, 7 Jan 2021 11:38:21 +0100 (CET) BALATON Zoltan wrote: On Thu, 7 Jan 2021, Philippe Mathieu-Daudé wrote: Hi Zoltan, On 1/6/21 10:13 PM, BALATON Zoltan wrote: The vt82c686b-pm model can be shared between VT82C686B and VT8231. The only

Re: [PATCH 05/12] vt82c686: Make vt82c686b-pm an abstract base class and add vt8231-pm based on it

2021-01-07 Thread Igor Mammedov
On Thu, 7 Jan 2021 11:38:21 +0100 (CET) BALATON Zoltan wrote: > On Thu, 7 Jan 2021, Philippe Mathieu-Daudé wrote: > > Hi Zoltan, > > > > On 1/6/21 10:13 PM, BALATON Zoltan wrote: > >> The vt82c686b-pm model can be shared between VT82C686B and VT8231. The > >> only difference between the two is

Re: [PATCH 05/12] vt82c686: Make vt82c686b-pm an abstract base class and add vt8231-pm based on it

2021-01-07 Thread BALATON Zoltan
On Thu, 7 Jan 2021, Philippe Mathieu-Daudé wrote: Hi Zoltan, On 1/6/21 10:13 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

Re: [PATCH 05/12] vt82c686: Make vt82c686b-pm an abstract base class and add vt8231-pm based on it

2021-01-07 Thread Philippe Mathieu-Daudé
Hi Zoltan, On 1/6/21 10:13 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

[PATCH 05/12] vt82c686: Make vt82c686b-pm an abstract base class and add vt8231-pm based on it

2021-01-06 Thread BALATON Zoltan
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 ---