qemu.tests.format_disk: Update the cmd of read/write data

This patch makes the read/write cmd fully configurable.

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
qemu.tests.usb_storage: Do io test with format_disk script

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
qemu.tests.usb_storage: Add a helper function to get usb disk

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
qemu.tests.usb_storage: make this script work for win guest

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
qemu: systemtap_tracing - Change a variant name to avoid conflicts

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
tests: Add error.context() for nicdriver_unload.py

Log test steps to logging.info.
Rename '_' to i.

Signed-off-by: Feng Yang <fyang@redhat.com>
Acked-by: Shuping Cui <scui@redhat.com>
tests: update platform from 64 to x86_64 in ntttcp.py

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
tests: add lvm test steps into logging.info

Record test steps into logging.info to make test steps more clearly

Signed-off-by: Xu Tian <xutian@redhat.com>
Acked-by: Suqin Huang <shuang@redhat.com>
tests.ioquit: Update test steps

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
tests: add steps to logging.info for dd_test

update test steps into doc string and add test steps into logging.info

Signed-off-by: Xu Tian <xutian@redhat.com>
Acked-by: Shuping Cui <scui@redhat.com>
Acked-by: Suqin Huang <shuang@redhat.com>
tests: Print shutdown steps

Print shutdown steps

Signed-off-by: Suqin Huang <shuang@redhat.com>
Acked-by: Feng Yang <fyang@redhat.com>
qemu.tests: Update nmi_bosd_catch logging message

Update the logging message for nmi_bosd_catch, so that we may analyze
the root reason for the case failed.

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
Acked-by: Feng Yang <fyang@redhat.com>
tests: Add error.context() for vlan.py script.

This patch add error.context for vlan.py script.
All update the steps in doc string.
Move sub function onto top of function code.

We may still need a patch to sync script with test case.

Signed-off-by: Feng Yang <fyang@redhat.com>
Acked-by: Suqin Huang <shuang@redhat.com>
qemu.tests: Update interface for virtio driver sign check

Update the module patch and module name.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
qemu.tests: enospc.py: Destroy guest before remove images on LVM

The cleanup action causes a error if guest still alive when removing
images on LVM, thus this patch destroy guest before cleanup method
called.

Other update:
 * Introduct error.context into this script.
 * Add try-except block when calling cleanup method in case unexpected
   exception is raised.

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
Acked-by: Feng Yang <fyang@redhat.com>
virttest.qemu_vm: Return the qemu_cmd in right place

The old version makes a mistake and makes option rom
never be added.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
qemu.cfg: Update some RHEL host related params

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
qeme.tests.cfg: Check virtio serial sys file info

Add the cfg for check virtio serial sys file info.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
qemu: pci_hotplug - Change variant name to avoid conflicts

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
tests: Update clean up session to serial session

As this guest performance will get worse when the disk is filled up,
and may influence the normal session. Use serial session instead.

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