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 18 static void machine_none_init(MachineState *machine) 19 { 20 } 21 22 static void machine_none_machine_init(MachineClass *mc) 23 { 24 mc->desc = "empty machine"; 25 mc->init = machine_none_init; 26 mc->max_cpus = 0; 27 } 28 29 DEFINE_MACHINE("none", machine_none_machine_init) 30