xref: /openbmc/qemu/hw/core/vmstate-if.c (revision f7160f32)
1 /*
2  * VMState interface
3  *
4  * Copyright (c) 2009-2019 Red Hat Inc
5  * This work is licensed under the terms of the GNU GPL, version 2 or later.
6  * See the COPYING file in the top-level directory.
7  */
8 
9 #include "qemu/osdep.h"
10 #include "hw/vmstate-if.h"
11 
12 static const TypeInfo vmstate_if_info = {
13     .name = TYPE_VMSTATE_IF,
14     .parent = TYPE_INTERFACE,
15     .class_size = sizeof(VMStateIfClass),
16 };
17 
18 static void vmstate_register_types(void)
19 {
20     type_register_static(&vmstate_if_info);
21 }
22 
23 type_init(vmstate_register_types);
24