diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2024-01-08 17:08:59 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-01-20 13:43:42 +0300 |
commit | 1fc277a0e8ccb86a29c0b6ef656d90a62ef762d9 (patch) | |
tree | 49a372bbd9f0ecc0df544a214b4dcfa8a03471b2 /net/tap-stub.c | |
parent | 143d230d51a8f125804cb75a9bbc430e91027f61 (diff) | |
download | qemu-1fc277a0e8ccb86a29c0b6ef656d90a62ef762d9.zip qemu-1fc277a0e8ccb86a29c0b6ef656d90a62ef762d9.tar.gz qemu-1fc277a0e8ccb86a29c0b6ef656d90a62ef762d9.tar.bz2 |
hw/pflash: implement update buffer for block writes
Add an update buffer where all block updates are staged.
Flush or discard updates properly, so we should never see
half-completed block writes in pflash storage.
Drop a bunch of FIXME comments ;)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240108160900.104835-4-kraxel@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit 284a7ee2e290e0c9b8cd3ea6164d92386933054f)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(Mjt: drop const in hw/block/pflash_cfi01.c for before
v8.2.0-220-g7d5dc0a367 "hw/block: Constify VMState")
Diffstat (limited to 'net/tap-stub.c')
0 files changed, 0 insertions, 0 deletions