]> Git Repo - qemu.git/commit
pflash_cfi01: Do not exit() on guest aborting "write to buffer"
authorMarkus Armbruster <[email protected]>
Fri, 8 Mar 2019 09:45:57 +0000 (10:45 +0100)
committerMarkus Armbruster <[email protected]>
Mon, 11 Mar 2019 21:53:44 +0000 (22:53 +0100)
commit2d93bebf81520ccebeb9a3ea9bd051ce088854ea
tree84bd943d5dc3fcdbf8ffb3bda8ed98d10c18a28a
parent1643406520f8ff6f4cc11062950f5f898b03b573
pflash_cfi01: Do not exit() on guest aborting "write to buffer"

When a guest tries to abort "write to buffer" (command 0xE8), we print
"PFLASH: Possible BUG - Write block confirm", then exit(1).  Letting
the guest terminate QEMU is not a good idea.  Instead, LOG_UNIMP we
screwed up, then reset the device.

Macro PFLASH_BUG() is now unused; delete it.

Suggested-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Message-Id: <20190308094610[email protected]>
hw/block/pflash_cfi01.c
This page took 0.02499 seconds and 4 git commands to generate.