diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2013-05-28 17:11:36 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-06-04 12:11:58 +0200 |
commit | 3a3918c396c5caeab35a7f51af905172a13d996a (patch) | |
tree | 4faa0b5a8e4f5be73e9c530f92c2359b859385ac /block.c | |
parent | 2575fe16d257a1fb5f452391b868b3c3263a9aca (diff) |
qemu-iotests: make compare_images() common
The iotests.compare_images() function returns True if two image files
have the identical data. Previously this was implemented by converting
images to raw and then comparing their contents using Python. Since
"qemu-img compare" is now available and is more efficient, switch to it.
This function will be reused by the 'drive-backup' test case.
Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions