Re: [PATCH v2 5/7] riscv/virt: Manually define the machine

2019-09-27 Thread Bin Meng
On Fri, Sep 27, 2019 at 8:51 AM Alistair Francis wrote: > > Instead of using the DEFINE_MACHINE() macro to define the machine let's > do it manually. This allows us to use the machine object to create > RISCVVirtState. This is required to add children and aliases to the > machine. > > This patch

[PATCH v2 5/7] riscv/virt: Manually define the machine

2019-09-26 Thread Alistair Francis
Instead of using the DEFINE_MACHINE() macro to define the machine let's do it manually. This allows us to use the machine object to create RISCVVirtState. This is required to add children and aliases to the machine. This patch is no functional change. Signed-off-by: Alistair Francis ---