migration: move wait-unplug loop to its own function
[qemu/kevin.git] / hw / nvram / fw_cfg-interface.c
blob0e93feeae5e4987d4aedc34eaa81ebd680388c43
1 /*
2 * QEMU Firmware configuration device emulation (QOM interfaces)
4 * Copyright 2020 Red Hat, Inc.
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
9 #include "qemu/osdep.h"
10 #include "hw/nvram/fw_cfg.h"
12 static const TypeInfo fw_cfg_data_generator_interface_info = {
13 .parent = TYPE_INTERFACE,
14 .name = TYPE_FW_CFG_DATA_GENERATOR_INTERFACE,
15 .class_size = sizeof(FWCfgDataGeneratorClass),
18 static void fw_cfg_register_interfaces(void)
20 type_register_static(&fw_cfg_data_generator_interface_info);
23 type_init(fw_cfg_register_interfaces)