qemu-iotests: add qed.py image manipulation utility
commite77964f79b905760ce7f0406fc6b988daeabbb65
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 27 Jul 2012 08:01:27 +0000 (27 09:01 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 6 Aug 2012 20:39:14 +0000 (6 22:39 +0200)
tree6d93d6bb523180930b470d261e56a44a8ba4b864
parent05290d80c88de1e4d02f2f00605e09206430cca9
qemu-iotests: add qed.py image manipulation utility

The qed.py utility can inspect and manipulate QED image files.  It can
be used for testing to see the state of image metadata and also to
inject corruptions into the image file.  It also has a scrubbing feature
to copy just the metadata out of an image file, allowing users to share
broken image files without revealing data in bug reports.

This has lived in my local repo for a long time but could be useful
to others.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/qed.py [new file with mode: 0755]