fw_cfg: Make base type "fw_cfg" abstract
Missed when commit 5712db6
split off "fw_cfg_io" and "fw_cfg_mem".
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1469777353-9383-1-git-send-email-armbru@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b8d0a9804d
commit
e061fa3ca9
|
@ -990,6 +990,7 @@ static void fw_cfg_class_init(ObjectClass *klass, void *data)
|
|||
static const TypeInfo fw_cfg_info = {
|
||||
.name = TYPE_FW_CFG,
|
||||
.parent = TYPE_SYS_BUS_DEVICE,
|
||||
.abstract = true,
|
||||
.instance_size = sizeof(FWCfgState),
|
||||
.class_init = fw_cfg_class_init,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue