Re: [Qemu-devel] [PATCH v3 8/9] machine: Refactor smp_parse() in vl.c as MachineClass::smp_parse()

2019-06-19 Thread Eduardo Habkost
On Wed, Jun 12, 2019 at 04:41:03PM +0800, Like Xu wrote: > To make smp_parse() more flexible and expansive, a smp_parse function > pointer is added to MachineClass that machine types could override. > > The generic smp_parse() code in vl.c is moved to hw/core/machine.c, and > become the default im

[Qemu-devel] [PATCH v3 8/9] machine: Refactor smp_parse() in vl.c as MachineClass::smp_parse()

2019-06-12 Thread Like Xu
To make smp_parse() more flexible and expansive, a smp_parse function pointer is added to MachineClass that machine types could override. The generic smp_parse() code in vl.c is moved to hw/core/machine.c, and become the default implementation of MachineClass::smp_parse. A PC-specific function cal