1 /* 2 * QEMU Machine 3 * 4 * Copyright (C) 2014 Red Hat Inc 5 * 6 * Authors: 7 * Marcel Apfelbaum <marcel.a@redhat.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 #include "hw/boards.h" 14 15 static const TypeInfo machine_info = { 16 .name = TYPE_MACHINE, 17 .parent = TYPE_OBJECT, 18 .abstract = true, 19 .class_size = sizeof(MachineClass), 20 .instance_size = sizeof(MachineState), 21 }; 22 23 static void machine_register_types(void) 24 { 25 type_register_static(&machine_info); 26 } 27 28 type_init(machine_register_types) 29