virttest.libvirt_storage_unittest: remove ModuleLoadCheckVirsh class.

Since we initialize a bogus_virsh in setup to provide a fake virsh for unittest,
then there is no need to skip if virsh command is not available.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Merge pull request #833 from yangdongsheng/libvirt_storage_unittest

virttest.libvirt_storage_unittest: remove ModuleLoadCheckVirsh class.
virt-libvirt: Error message enhancement

It's possible to install libvirt bits w/o installing kvm or xen.  This
will be reflected in 'virsh capabilities' output, but the VM class just
reports a key error.  Added two specific error logging messages to make
the problem clearer, but continue to raise the original exception.

Signed-off-by: Chris Evich <cevich@redhat.com>
tool-pep8: update the comment in run_pep8 module.

Options of run_pep8 tool is changed, then the description
should be updated at the same time.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Mass docstring fix

Make virt-test to have a docstring style mostly compliant with
the sphinx's [1] format, reStructured text. This means that
we have to trade all '@' tags to be ':', mostly.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
tools/run_pep8: Add own logging config class

This way we can keep those scripts in sync among
virt-test and autotest.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Add CODING_STYLE document

This file is also borrowed from autotest, and already
reflects the updates to the coding style of the projects
under the autotest umbrella.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
More docstring fixes

Fix some extra problems with docstrings in the code tree.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
qemu.test.cfg: Add cmd /c for windows disk write test

Add cmd /c to let the cmd session wait util the autoit scripts finished.
Otherwise it will return immediately after the autoit scripts start.
Also correct the script name.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
qemu.test.cfg: Add two sub test for windows disk write

Run CrystalDiskMark in guest during s3 and s4.

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