]> git.proxmox.com Git - mirror_qemu.git/commit
hw/mips: Use object_initialize() on MIPSCPSState
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 7 May 2019 16:34:09 +0000 (18:34 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 24 May 2019 18:29:02 +0000 (15:29 -0300)
commit2d5fac809c1e55be0563246cce23c184b6d31162
tree4e4c502814ec195ac04939bf953a9522b93abec5
parentd031379803149c1b09b98fe40445f9db5d20e1b6
hw/mips: Use object_initialize() on MIPSCPSState

Initialize the MIPSCPSState with object_initialize() instead of
object_new(). This will allow us to add it as children of the
machine container.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190507163416.24647-10-philmd@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/mips/boston.c
hw/mips/mips_malta.c