]> Git Repo - qemu.git/commit - hw/core/qdev.c
qdev: Introduce FWPathProvider interface
authorPaolo Bonzini <[email protected]>
Mon, 17 Mar 2014 02:40:23 +0000 (13:40 +1100)
committerAndreas Färber <[email protected]>
Thu, 20 Mar 2014 01:40:13 +0000 (02:40 +0100)
commit6b1566cbe372660c77ca4aa7aa0071fa30f5f930
treedb796cddf8483020aea4d30ef732884acd7f5e36
parent30e32af7466841f5fc08a5339e2184884a7bc6f3
qdev: Introduce FWPathProvider interface

QEMU supports firmware names for all devices in the QEMU tree but
some architectures expect some parts of firmware path names in different
format.

This introduces a firmware-pathname-change interface definition.
If some machines needs to redefine the firmware path format, it has
to add the TYPE_FW_PATH_PROVIDER interface to an object that is above
the device on the QOM tree (typically /machine).

Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
hw/core/Makefile.objs
hw/core/fw-path-provider.c [new file with mode: 0644]
hw/core/qdev.c
include/hw/fw-path-provider.h [new file with mode: 0644]
tests/Makefile
This page took 0.027603 seconds and 4 git commands to generate.