autotest/virt-test — pull request #410 by ypu (2013-05-15 14:43:15+00:00)
Title: qemu.tests: Add a kvm subtest format_disk.

This test will simply create a file system on disk, mount it and write
a file with some content to the disk. Check whether the write could be
succeeded.

Signed-off-by: sshang

Checking guest os type with 'guest_name' parameter may not
always work for all guests, and not supported by upstream.
Thus update all these places to using 'os_type'.

Signed-off-by: Qingtang Zhou

In the format disk test, the status of the harddisk is different in different
env in Windows guest. Should check if the disk plused is offline and writeable.

Signed-off-by: Yiqiao Pu

This patch try to fix all the tab and trailing space problems.

Signed-off-by: Jason Wang

Make command timeout of format_disk.py scirpt longer and configurable

Signed-off-by: Feng Yang