KVM test: fix md5sum verification of ISO files
Currently only the 'cdrom' parameter is checked, but now that multiple cdroms
can be defined, get_sub_dict() should be used.
This patch also makes sure that 'md5sum' and 'sha1sum' are only set for the
same cdrom whose 'cdrom' parameter is set (e.g. 'md5sum_cd1 = ...' instead of
'md5sum = ...'). Otherwise adding a 2nd cdrom such as winutils.iso will result
in a hash mismatch.
Signed-off-by: Michael Goldish <mgoldish@redhat.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5025 592f7852-d20e-0410-864c-8624ca9c26a4