On Fri, Sep 27, 2019 at 8:51 AM Alistair Francis <alistair.fran...@wdc.com> 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 is no functional change. > > Signed-off-by: Alistair Francis <alistair.fran...@wdc.com> > --- > hw/riscv/virt.c | 30 ++++++++++++++++++++++++------ > include/hw/riscv/virt.h | 7 ++++++- > 2 files changed, 30 insertions(+), 7 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com> Tested-by: Bin Meng <bmeng...@gmail.com>