]>
Commit | Line | Data |
---|---|---|
b4a738bf AL |
1 | /* |
2 | * Empty machine | |
3 | * | |
4 | * Copyright IBM, Corp. 2012 | |
5 | * | |
6 | * Authors: | |
7 | * Anthony Liguori <[email protected]> | |
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 | ||
18c86e2b | 14 | #include "qemu/osdep.h" |
b4a738bf AL |
15 | #include "qemu-common.h" |
16 | #include "hw/hw.h" | |
17 | #include "hw/boards.h" | |
18 | ||
3ef96221 | 19 | static void machine_none_init(MachineState *machine) |
b4a738bf AL |
20 | { |
21 | } | |
22 | ||
e264d29d | 23 | static void machine_none_machine_init(MachineClass *mc) |
b4a738bf | 24 | { |
e264d29d EH |
25 | mc->desc = "empty machine"; |
26 | mc->init = machine_none_init; | |
27 | mc->max_cpus = 0; | |
b4a738bf AL |
28 | } |
29 | ||
e264d29d | 30 | DEFINE_MACHINE("none", machine_none_machine_init) |