]> git.proxmox.com Git - mirror_qemu.git/commit
fw_cfg: add write callback
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 11 Sep 2017 16:59:23 +0000 (18:59 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 15 Oct 2017 02:54:40 +0000 (05:54 +0300)
commit5f9252f7cc12c5cec1b3c6695aca02eb52ea7acc
tree386c56dedd94b4121f9864095d6964c160b30770
parent06592d7e28794dcd93dbd5186910ba8c987453ba
fw_cfg: add write callback

Reintroduce the write callback that was removed when write support was
removed in commit 023e3148567ac898c7258138f8e86c3c2bb40d07.

Contrary to the previous callback implementation, the write_cb
callback is called whenever a write happened, so handlers must be
ready to handle partial write as necessary.

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>
hw/acpi/vmgenid.c
hw/core/loader.c
hw/i386/acpi-build.c
hw/isa/lpc_ich9.c
hw/nvram/fw_cfg.c
include/hw/nvram/fw_cfg.h