qemu-io: add "abort" command to simulate program crash
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 27 Jul 2012 08:05:23 +0000 (09:05 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 6 Aug 2012 20:39:14 +0000 (22:39 +0200)
commite01c30d3e20eb8cf068b08af46c532f99975527a
tree0b2830470ae2f1a31a9e2d2da63e903f97133f8a
parentbfe8043e9214d2fc6572cc72b5f2218308747acd
qemu-io: add "abort" command to simulate program crash

Avoiding data loss and corruption is the top requirement for image file
formats.  The qemu-io "abort" command makes it possible to simulate
program crashes and does not give the image format a chance to cleanly
shut down.  This command is useful for data integrity test cases.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-io.c