virsh_secret_set_get: Prepare for upstream change

An upstream change to libvirt:

https://www.redhat.com/archives/libvir-list/2013-November/msg00400.html

results in the output starting with a single space rather than
at the beginning of the line - this change will account for that
with an appropriately placed '.lstrip()'.

Also, if fail the check for the existence of the base64_file, then
indicate that's what the failure is rather than what would be a
false message of "The secret value mismatch with result" because
the secret_decoded_string is empty.
virsh_volume: Adjust for upstream change

Upstream change adjusted the output of the virsh vol-list command
output to have a space in the front of the line, see:

https://www.redhat.com/archives/libvir-list/2013-November/msg00380.html

Add a strategic ".lstrip()" to the re.search() on the output
qemu.test: add test case for guest suspend under nic stress

This patch add test case of guest suspend under nic stress

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
virt.test: modify vhost config for file_transfer test

Currently for non-MSIX guest, qemu will disable vhost_net automatically,
even vhost is enabled. using vhostfoce=on to force enable vhost-net.
This patch modify the test configuration, only test "vhostforce=on"
on non-MSIX guest.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
virttest.qemu_qtree: Fix class regexp for parsing qtree

The PCI address is hex so the correct regexp should match \w instead of \d

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.pci_devices: Style cleanup

Split functions into subfunctions and prepare the test for multiple
parts with exception in the end.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.pci_devices: Add verification lspci vs. qtree

Additional check for (not only) correct pci addresses in qtree and lspci.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.pci_devices: Add docstrings/pylint

Add some docstrings and other pylint fixes.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
Merge pull request #1113 from jferlan/virsh_volume

virsh_volume: Adjust for upstream change
Merge pull request #1130 from ldoktor/add_device3

qemu.tests.pci_devices: Support for lspci verification
Merge pull request #1129 from ypu/ksm

Enlarge ksm overcommit test time
Merge pull request #1121 from humanux/vhostforce

virt.test: modify vhost config for file_transfer test
Merge pull request #1114 from jferlan/virsh_secret_set_get

virsh_secret_set_get: Prepare for upstream change
tools/check_patch.py: Change 'next' branch to 'master'

As we did end with the 'next' branch, now PRs have to
be applied against the 'master' branch.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1141 from ypu/cdrom

virttest: Update cdrom image file name
Merge pull request #1116 from humanux/suspend_netperf

qemu.test: add test case for guest suspend under nic stress
virttest: Should destroy pre vm in create()

In create function of vm object, we should try to destory the pre one
in the begining. Otherwise some strange error will be produced.

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