hw/arm/virt-acpi-build: add all missing cpu_to_le's
[qemu/ar7.git] / hw / core / null-machine.c
blob0351ba7828255cf3bc366fce2bed0ba458f4429f
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/osdep.h"
15 #include "qemu-common.h"
16 #include "hw/hw.h"
17 #include "hw/boards.h"
19 static void machine_none_init(MachineState *machine)
23 static void machine_none_machine_init(MachineClass *mc)
25 mc->desc = "empty machine";
26 mc->init = machine_none_init;
27 mc->max_cpus = 0;
30 DEFINE_MACHINE("none", machine_none_machine_init)