vmstate-if.c 524 B

1234567891011121314151617181920212223
  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. #include "qemu/osdep.h"
  9. #include "hw/vmstate-if.h"
  10. static const TypeInfo vmstate_if_info = {
  11. .name = TYPE_VMSTATE_IF,
  12. .parent = TYPE_INTERFACE,
  13. .class_size = sizeof(VMStateIfClass),
  14. };
  15. static void vmstate_register_types(void)
  16. {
  17. type_register_static(&vmstate_if_info);
  18. }
  19. type_init(vmstate_register_types);