summaryrefslogtreecommitdiffstats
path: root/hw/core/loader.c
diff options
context:
space:
mode:
authorMarc-André Lureau2017-08-07 20:16:11 +0200
committerMichael S. Tsirkin2017-09-08 15:15:17 +0200
commit6f6f4aec749ba9a4fb58c7c20536a61b0381ff35 (patch)
tree0cef7c3dd1db0c476fdef07ac27955603bbfe26b /hw/core/loader.c
parentpci: add reserved slot check to do_pci_register_device() (diff)
downloadqemu-6f6f4aec749ba9a4fb58c7c20536a61b0381ff35.tar.gz
qemu-6f6f4aec749ba9a4fb58c7c20536a61b0381ff35.tar.xz
qemu-6f6f4aec749ba9a4fb58c7c20536a61b0381ff35.zip
fw_cfg: rename read callback
The callback is called on select. Furthermore, the next patch introduced a new callback, so rename the function type with a generic name. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/core/loader.c')
-rw-r--r--hw/core/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/loader.c b/hw/core/loader.c
index ebe574c7ea..4593061445 100644
--- a/hw/core/loader.c
+++ b/hw/core/loader.c
@@ -989,7 +989,7 @@ err:
MemoryRegion *rom_add_blob(const char *name, const void *blob, size_t len,
size_t max_len, hwaddr addr, const char *fw_file_name,
- FWCfgReadCallback fw_callback, void *callback_opaque,
+ FWCfgCallback fw_callback, void *callback_opaque,
AddressSpace *as, bool read_only)
{
MachineClass *mc = MACHINE_GET_CLASS(qdev_get_machine());