xref: /qemu/qom/container.c (revision 83f7d43a9ef70b1b91e465173e18c845420e931e)
18b45d447SAnthony Liguori /*
28b45d447SAnthony Liguori  * Device Container
38b45d447SAnthony Liguori  *
48b45d447SAnthony Liguori  * Copyright IBM, Corp. 2012
58b45d447SAnthony Liguori  *
68b45d447SAnthony Liguori  * Authors:
78b45d447SAnthony Liguori  *  Anthony Liguori   <aliguori@us.ibm.com>
88b45d447SAnthony Liguori  *
98b45d447SAnthony Liguori  * This work is licensed under the terms of the GNU GPL, version 2 or later.
108b45d447SAnthony Liguori  * See the COPYING file in the top-level directory.
118b45d447SAnthony Liguori  */
128b45d447SAnthony Liguori 
138b45d447SAnthony Liguori #include "qemu/object.h"
148b45d447SAnthony Liguori #include "module.h"
158b45d447SAnthony Liguori 
168b45d447SAnthony Liguori static TypeInfo container_info = {
178b45d447SAnthony Liguori     .name          = "container",
188b45d447SAnthony Liguori     .instance_size = sizeof(Object),
198b45d447SAnthony Liguori     .parent        = TYPE_OBJECT,
208b45d447SAnthony Liguori };
218b45d447SAnthony Liguori 
22*83f7d43aSAndreas Färber static void container_register_types(void)
238b45d447SAnthony Liguori {
248b45d447SAnthony Liguori     type_register_static(&container_info);
258b45d447SAnthony Liguori }
268b45d447SAnthony Liguori 
27*83f7d43aSAndreas Färber type_init(container_register_types)
28