]> git.proxmox.com Git - mirror_qemu.git/commit
hw/core: Move null-machine into the common-obj list
authorThomas Huth <thuth@redhat.com>
Fri, 19 Oct 2018 12:28:49 +0000 (14:28 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 24 Oct 2018 06:27:25 +0000 (07:27 +0100)
commit3858ff763985fb9e9516cd36ae119562b9d61fea
treed7fbace1c4925d75cd6ad13486b5663a8a168b83
parentd254b392cb1006039e3f1ede3375181b878091c5
hw/core: Move null-machine into the common-obj list

The null-machine code used to be target specific since it used the
target-specific cpu_init() function in the past. But in the recent
commit 2278b93941d42c30e2950 ("Use cpu_create(type) instead of
cpu_init(cpu_model)") this has been change, so that the code now
uses the common cpu_create() function instead. Thus we can put
the null-machine into the common-obj list so that it is compiled
only once for all targets, to save some compilation time.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/core/Makefile.objs
hw/core/null-machine.c