~nuclearbob/qa-regression-testing/autotest

Viewing all changes in revision 6581.

  • Committer: Lucas Meneghel Rodrigues
  • Date: 2012-08-31 21:13:03 UTC
  • Revision ID: git-v1:d015eea550ae9c8b762f9e996d6d8cefef6f8de2
virt.storage: Backup both good and bad images upon disk corruption

It's useful to have both the good image created
at unattended install time and, when the image
gets corrupted, the bad image, both with the same
unique suffix. So expand the backup image method
to handle this behavior accordingly, and also
simplify the logic used on that method.

CC: Cleber Rosa <cleber@redhat.com>
CC: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: