qemu.tests: Let enospc find the devname by command

As the drive_format increased, to ignore the devname not defined problem
in the future. Use command to check the disk devname by scripts.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>