Anthony Liguori | b4a738b | 2012-08-22 15:22:05 -0500 | [diff] [blame] | 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 | |
Marcel Apfelbaum | 3ef9622 | 2014-05-07 17:42:57 +0300 | [diff] [blame] | 18 | static void machine_none_init(MachineState *machine) |
Anthony Liguori | b4a738b | 2012-08-22 15:22:05 -0500 | [diff] [blame] | 19 | { |
| 20 | } |
| 21 | |
| 22 | static QEMUMachine machine_none = { |
| 23 | .name = "none", |
| 24 | .desc = "empty machine", |
| 25 | .init = machine_none_init, |
| 26 | .max_cpus = 0, |
Anthony Liguori | b4a738b | 2012-08-22 15:22:05 -0500 | [diff] [blame] | 27 | }; |
| 28 | |
| 29 | static void register_machines(void) |
| 30 | { |
| 31 | qemu_register_machine(&machine_none); |
| 32 | } |
| 33 | |
| 34 | machine_init(register_machines); |
| 35 | |