Re: About "PC_MACHINE_CLASS" definition.

2023-08-31 Thread Liu Jaloo
Thanks a lot. On Thu, Aug 31, 2023 at 2:11 PM Philippe Mathieu-Daudé wrote: > Hi, > > On 31/8/23 05:15, Liu Jaloo wrote: > > Where actually defined the "PC_MACHINE_CLASS", I can't find it in source > > code, please help to point out the file. > > It is defined in include/hw/i386/pc.h: > > OBJECT

Re: About "PC_MACHINE_CLASS" definition.

2023-08-30 Thread Philippe Mathieu-Daudé
Hi, On 31/8/23 05:15, Liu Jaloo wrote: Where actually defined the "PC_MACHINE_CLASS", I can't find it in source code, please help to point out the file. It is defined in include/hw/i386/pc.h: OBJECT_DECLARE_TYPE(PCMachineState, PCMachineClass, PC_MACHINE) The macro itself is defined in inclu

About "PC_MACHINE_CLASS" definition.

2023-08-30 Thread Liu Jaloo
Where actually defined the "PC_MACHINE_CLASS", I can't find it in source code, please help to point out the file. Thanks.