Merge remote-tracking branch 'remotes/elmarco/tags/for-upstream' into staging
[qemu/ar7.git] / hw / core / null-machine.c
blob1ec7c3bbe0ac4a2caa2be4b66c3f7d585c3dfed7
1 /*
2 * Empty machine
4 * Copyright IBM, Corp. 2012
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
14 #include "qemu-common.h"
15 #include "hw/hw.h"
16 #include "hw/boards.h"
18 static void machine_none_init(MachineState *machine)
22 static QEMUMachine machine_none = {
23 .name = "none",
24 .desc = "empty machine",
25 .init = machine_none_init,
26 .max_cpus = 0,
29 static void register_machines(void)
31 qemu_register_machine(&machine_none);
34 machine_init(register_machines);