]> git.proxmox.com Git - qemu.git/blame - hw/null-machine.c
moxie: configure with default-configs file
[qemu.git] / hw / null-machine.c
CommitLineData
b4a738bf
AL
1/*
2 * Empty machine
3 *
4 * Copyright IBM, Corp. 2012
5 *
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
8 *
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.
11 *
12 */
13
14#include "qemu-common.h"
15#include "hw/hw.h"
16#include "hw/boards.h"
17
5f072e1f 18static void machine_none_init(QEMUMachineInitArgs *args)
b4a738bf
AL
19{
20}
21
22static QEMUMachine machine_none = {
23 .name = "none",
24 .desc = "empty machine",
25 .init = machine_none_init,
26 .max_cpus = 0,
e4ada29e 27 DEFAULT_MACHINE_OPTIONS,
b4a738bf
AL
28};
29
30static void register_machines(void)
31{
32 qemu_register_machine(&machine_none);
33}
34
35machine_init(register_machines);
36