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/osdep.h" 15 #include "qemu-common.h" 16 #include "hw/hw.h" 17 #include "hw/boards.h" 18 19 static void machine_none_init(MachineState *machine) 20 { 21 } 22 23 static void machine_none_machine_init(MachineClass *mc) 24 { 25 mc->desc = "empty machine"; 26 mc->init = machine_none_init; 27 mc->max_cpus = 0; 28 } 29 30 DEFINE_MACHINE("none", machine_none_machine_init) 31