Statistics
| Branch: | Revision:

root / qom / container.c @ 371c6489

History | View | Annotate | Download (568 Bytes)

1 8b45d447 Anthony Liguori
/*
2 8b45d447 Anthony Liguori
 * Device Container
3 8b45d447 Anthony Liguori
 *
4 8b45d447 Anthony Liguori
 * Copyright IBM, Corp. 2012
5 8b45d447 Anthony Liguori
 *
6 8b45d447 Anthony Liguori
 * Authors:
7 8b45d447 Anthony Liguori
 *  Anthony Liguori   <aliguori@us.ibm.com>
8 8b45d447 Anthony Liguori
 *
9 8b45d447 Anthony Liguori
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 8b45d447 Anthony Liguori
 * See the COPYING file in the top-level directory.
11 8b45d447 Anthony Liguori
 */
12 8b45d447 Anthony Liguori
13 8b45d447 Anthony Liguori
#include "qemu/object.h"
14 8b45d447 Anthony Liguori
#include "module.h"
15 8b45d447 Anthony Liguori
16 8b45d447 Anthony Liguori
static TypeInfo container_info = {
17 8b45d447 Anthony Liguori
    .name          = "container",
18 8b45d447 Anthony Liguori
    .instance_size = sizeof(Object),
19 8b45d447 Anthony Liguori
    .parent        = TYPE_OBJECT,
20 8b45d447 Anthony Liguori
};
21 8b45d447 Anthony Liguori
22 83f7d43a Andreas Färber
static void container_register_types(void)
23 8b45d447 Anthony Liguori
{
24 8b45d447 Anthony Liguori
    type_register_static(&container_info);
25 8b45d447 Anthony Liguori
}
26 8b45d447 Anthony Liguori
27 83f7d43a Andreas Färber
type_init(container_register_types)