On Sat, 2011-04-02 at 11:09 +0800, wuyu8242 wrote: > > hi Lucas, > Sorry for disturbing you!Now, I want to test a guest with windows > OS using kvm-autotest, so I download the win7 iso,but when running the > autotest fw, the error appears, I find the error is the cdrom_cd1 > value is en_windows_7_ultimate_x86_dvd_x15-65921.iso not my win7 iso > name in tests_base.py(presumably in 2293 line). so I modify the value > of cdrom_cd1 to my win7 iso name, but I don't know how to generate > the md5sum_1m_cd1 value, can you tell me the method? thank you very > much!
Just execute the program called cd_hash.py inside the kvm test folder directory and provide the isos as the parameters for it. Example: [lmr@freedom kvm]$ ./cd_hash.py /tmp/kvm_autotest_root/isos/windows/en_windows_7_ultimate_x64_dvd_x15-65922.iso 21:49:49 INFO | Hash values for file en_windows_7_ultimate_x64_dvd_x15-65922.iso 21:49:49 INFO | md5 (1m): b44d8cf99dbed2a5cb02765db8dfd48f 21:49:49 INFO | sha1 (1m): 4a3903bd5157de54f0702e5263e0a683c5775515 21:51:21 INFO | md5 (full): f43d22e4fb07bf617d573acd8785c028 21:52:54 INFO | sha1 (full): 326327cc2ff9f05379f5058c41be6bc5e004baa7 That's it. You'll have all values you possibly need there. Lucas _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
