Anthony Liguori | 8b45d44 | 2011-12-23 09:08:05 -0600 | [diff] [blame] | 1 | /* |
| 2 | * Device Container |
| 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 | #include "qemu/object.h" |
| 14 | #include "module.h" |
| 15 | |
| 16 | static TypeInfo container_info = { |
| 17 | .name = "container", |
| 18 | .instance_size = sizeof(Object), |
| 19 | .parent = TYPE_OBJECT, |
| 20 | }; |
| 21 | |
Andreas Färber | 83f7d43 | 2012-02-09 15:20:55 +0100 | [diff] [blame] | 22 | static void container_register_types(void) |
Anthony Liguori | 8b45d44 | 2011-12-23 09:08:05 -0600 | [diff] [blame] | 23 | { |
| 24 | type_register_static(&container_info); |
| 25 | } |
| 26 | |
Andreas Färber | 83f7d43 | 2012-02-09 15:20:55 +0100 | [diff] [blame] | 27 | type_init(container_register_types) |