vmstate: fix varrays with uint32_t indexes
[qemu/kevin.git] / qom / container.c
blobf107208867081d1d929838f56fbd0f352218702f
1 /*
2 * Device Container
4 * Copyright IBM, Corp. 2012
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
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.
13 #include "qemu/object.h"
14 #include "module.h"
16 static TypeInfo container_info = {
17 .name = "container",
18 .instance_size = sizeof(Object),
19 .parent = TYPE_OBJECT,
22 static void container_register_types(void)
24 type_register_static(&container_info);
27 type_init(container_register_types)