Merge pull request #1119 from humanux/qemu_option_check

qemu.test: add qemu device options check
qemu/cfg/tests-spice.cfg: Fix wrong name value for celt051_devel_url

Signed-off-by: Swapna Krishnan <skrishna@redhat.com>
Merge pull request #1169 from jferlan/virsh_domfstrim

virsh_domfstrim: Check for existence of lsscsi first
Merge pull request #1170 from jferlan/virsh_vcpucount

virsh_vcpucount: Adjust --guest option testing
Merge pull request #1172 from jferlan/virsh_setmem

virsh_setmem: Reduce churn for libvirtd restart
Merge pull request #1173 from jferlan/virsh_nodedev_create_destroy

virsh_nodedev_create_destroy: Use TestNAError
Merge pull request #1174 from jferlan/virsh_snapshot_create_as

virsh_snapshot_create_as: Fix error recovery
Merge pull request #1150 from Antique/virsh-emulatorpin

virsh.emulatorpin: fix the way we get a cgroup path
virttest.utils_net: Don't remove virt DB lock upon unlocking

This might cause race conditions, so in doubt, don't remove.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.utils_net: Clean DB lock file on clean_tmp_files()

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.qemu_vm: Don't delete vm create lock file on unlock

As it's a source for race conditions.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.standalone_test: Clean VM create lock on clean_tmp_files()

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1176 from autotest/bugfixes

Cleanup bugfixes
Merge pull request #1159 from jzupka/virt-fix-path

virt: Fix import error when AUTOTEST_PATH is relative and work dir is changed.
run: Fix bug in commit efadf86

So, turns out that, when not running under autotest,
the AUTOTEST_PATH directory will be None, and that will
make os.path.abspath to fail. Let's apply the abspath
function only if that value is not None.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1178 from autotest/bugfix

run: Fix bug in commit efadf86
virttest.qemu_vm: Fix issue #381

It was correctly pointed out by ldoktor that, in case
the 9p proxy helper is set, we'll overwrite self.process
with the regular QEMU process. Let's fix this problem.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1179 from autotest/fix-381

virttest.qemu_vm: Fix issue #381
virt.virtnet : update vm.virtnet when guest reboot

When starting a guest with one nic device, then
starting a guest with two nics (not removing env),
the second nic can not be initialized correctly.

When booting a guest with nic_extra_params, then
booting another guest without this option, the
second guest will boot with nic_extra_params
unexpectedly.

The root cause of these issues is that we don't
update virtnet when the VM object is preprocessed.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
Merge pull request #1180 from autotest/virtnet2

virt.virtnet : update vm.virtnet when guest reboot