blob: 0351ba7828255cf3bc366fce2bed0ba458f4429f [file] [log] [blame]
Anthony Liguorib4a738b2012-08-22 15:22:05 -05001/*
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
Peter Maydell18c86e22016-01-26 18:17:29 +000014#include "qemu/osdep.h"
Anthony Liguorib4a738b2012-08-22 15:22:05 -050015#include "qemu-common.h"
16#include "hw/hw.h"
17#include "hw/boards.h"
18
Marcel Apfelbaum3ef96222014-05-07 17:42:57 +030019static void machine_none_init(MachineState *machine)
Anthony Liguorib4a738b2012-08-22 15:22:05 -050020{
21}
22
Eduardo Habkoste264d292015-09-04 15:37:08 -030023static void machine_none_machine_init(MachineClass *mc)
Anthony Liguorib4a738b2012-08-22 15:22:05 -050024{
Eduardo Habkoste264d292015-09-04 15:37:08 -030025 mc->desc = "empty machine";
26 mc->init = machine_none_init;
27 mc->max_cpus = 0;
Anthony Liguorib4a738b2012-08-22 15:22:05 -050028}
29
Eduardo Habkoste264d292015-09-04 15:37:08 -030030DEFINE_MACHINE("none", machine_none_machine_init)