Currently, get_image_filename has a lot problems, if there are a lot block disks in /dev/.
For example, if use scsi_debug to create 9 disks, one of them name sdaa/sdab ect, it will not return these disks but sd[r-z]. It's very dangrous to use these disks if they are the real hard disk. Signed-off-by: Mike Qiu <[email protected]> Mike Qiu (3): virt.shared.cfg.base:Avoid to add more disk in blacklist virt.virttest.storage:avoid the wrong to raise an error virt.virttest.storage: Change the cmp method of the sorted function shared/cfg/base.cfg | 2 +- virttest/storage.py | 31 +++++++++++++++++++++++++++++-- 2 files changed, 30 insertions(+), 3 deletions(-) -- 1.7.11.7 _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
