qemu.balloon_check: reset the memory to origin value

The memory should be reset to the origin value after
evict or enlarge. So that the next iterations tests can
pass when check memory before test

Signed-off-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
virttest.qemu_devices: Fix QStringDevice.cmdline problem

when False/None was set as cmdline this device always failed.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
tests: Correct the wrong import module for trans_hugepage_memory_stress

Should import utils under client but not under client.shared.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
shared.control: Update the stress_memory_heavy.control

Fix some variables missing problem and typo.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Merge pull request #641 from QiuMike/qemu.balloon_check_reset_the_memory_to_origin_value

qemu.balloon_check: reset the memory to origin value
virttest.qemu_devices: Fix in-code OrderedDict

Fix the correct implementation of itervalues() and add iteritems().

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

virttest.qemu_devices: Additional two fixes
virttest.libvirt_xml.vm_xml: Fix undefined variable error

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
monitor: fix pattern of float

@ netdev_add type=tap,id=id1,fds=12:13
  '12:13' would be wrongly matched as a float.

'.' matches an arbitrary char, '\.' matches a dot.

Signed-off-by: Amos Kong <akong@redhat.com>
enable mq feature in qemu cmdline/commands

MQ was disabled in qemu by default, this patch enables it
if user assigns multiple queues, hotplug cases will hotadd
MQ nics.

| commit 32ab06bcf1352848eec42629a85e20efa4e105dc
| Author: Jesse Larrew <jlarrew@linux.vnet.ibm.com>
| Date:   Tue Feb 5 17:47:17 2013 -0600
|
|     hw/virtio-net: disable multiqueue by default
|
|     The new multiqueue feature adds fields to the virtio device config, which
|     breaks Windows guests. Disable the feature by default until the Windows
|     drivers are fixed.

Signed-off-by: Amos Kong <akong@redhat.com>
update config file to assign the queue number

Signed-off-by: Amos Kong <akong@redhat.com>
add testcase to enable MQ feature in guests

Currently MQ feature was disabled by default in guests,
it can be enabled by 'ethtool -L'

This patch added a new testcase to enable all virtio-nic
of all vms, it can be used to enable this feature before
real tests.

Signed-off-by: Amos Kong <akong@redhat.com>
shared: Add GPG keys dir

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.build_helper: Fix problem with verifying signed tags

Michael pointed out that there are 2 problems with the
current implementation of the signed tags verification:

1) If the tag is signed by Malicious.Hacker@somewhere
and you trick gpg into downloading this key, it will still
happily accept the tag as long as it's in the server.
2) If one runs this test from her/his account, it will add
random stuff to her/his .gnupg directory.

In order to bypass chain of trust issues, the user will
specify directly which keys are allowed, those keys will
be copied to a special shared location on virt test
(shared/gpg), the environment variable GNUPGHOME will be
set to a temporary directory, the specified key will be
imported and then the tag will be verified.

CC: Michael S. Tirskin <mst@redhat.com>
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.test : Make file_transfer support vhostforce on and off

This patch makes test file_transfer support vhostforce on
and off.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
rename qcow3 to qcow2_v3 and disable it on unsupported hosts

Signed-off-by: Xiaoqing Wei <xwei@redhat.com>
virttest.virsh: Allow pool-info return result.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Recover missing virsh_pool_create_as configuration.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Merge pull request #627 from ypu/thp_stress

Thp stress
Merge pull request #651 from xiaoqing-wei/qcow2_v3

rename qcow3 to qcow2_v3 and disable it on unsupported hosts