Re: [PATCH v4 4/8] hw/i386: split PCMachineState deriving X86MachineState from it

2019-09-25 Thread Philippe Mathieu-Daudé
On 9/24/19 3:40 PM, Philippe Mathieu-Daudé wrote: > On 9/24/19 2:44 PM, Sergio Lopez wrote: >> Split up PCMachineState and PCMachineClass and derive X86MachineState >> and X86MachineClass from them. This allows sharing code with non-PC >> machine types. >> >> Also, move shared functions from pc.c t

Re: [PATCH v4 4/8] hw/i386: split PCMachineState deriving X86MachineState from it

2019-09-24 Thread Philippe Mathieu-Daudé
On 9/24/19 2:44 PM, Sergio Lopez wrote: > Split up PCMachineState and PCMachineClass and derive X86MachineState > and X86MachineClass from them. This allows sharing code with non-PC > machine types. > > Also, move shared functions from pc.c to x86.c. > > Signed-off-by: Sergio Lopez > --- > hw/a

[PATCH v4 4/8] hw/i386: split PCMachineState deriving X86MachineState from it

2019-09-24 Thread Sergio Lopez
Split up PCMachineState and PCMachineClass and derive X86MachineState and X86MachineClass from them. This allows sharing code with non-PC machine types. Also, move shared functions from pc.c to x86.c. Signed-off-by: Sergio Lopez --- hw/acpi/cpu_hotplug.c | 10 +- hw/i386/Makefile.objs | 1 +