Replace the method of getting target drive path
qemu.test: format_disk, block_resize
generic.test: lvm, dd_test
These above cases assumed the target drive path is "/dev/*db". However,
it would not be true in rhel ppc guest with using virtio-blk interface.
The fix will make these cases to get the target drive by serial or wwn.
Signed-off-by: NXu Han <xuhan@redhat.com>
Showing
想要评论请 注册 或 登录