libvirt: Adapt the remote config in base.cfg to existing tests.

Since there are several tests in libvirt are using ENTER.YOUR as
the default configuration of remote, we should add this substring
into base.cfg.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
virsh: Add ShellProcessTerminatedError in close_session.

When a VirshSession is already terminated when we call close_session(),
it will raise a ShellProcessTerminatedError. We should catch it and
notice that this session is already closed.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
virttest.libvirt_xml.vm_xml: Add option to get_disk_resource

Add option to get_disk_resource to support extra option when
dumpxml.

Signed-off-by: Wayne Sun <gsun@redhat.com>
virttest: Add get_correspond_ip() to virttest.utils_net.py

This function may used by other scripts.

Signed-off-by: Feng Yang <fyang@redhat.com>
lvsb: Add '-s' security option support

Signed-off-by: Alex Jia <ajia@redhat.com>
lvsb_base: Add 'dynamic' as default security option

Signed-off-by: Alex Jia <ajia@redhat.com>
Merge pull request #1415 from autotest/1282

PR 1282 remake
virttest.virsh: Add sendkey() API

Signed-off-by: Kyla Zhang <weizhan@redhat.com>
Merge pull request #1416 from autotest/1292

virttest.virsh: Add sendkey() API
Merge pull request #1294 from waynesun09/virsh_domblklist

[PR Updated] virttest.libvirt_xml.vm_xml: Add option to get_disk_resource
Revise netperf's avg_update

tpkt_per_exit 14=6/12,rpkt_per_irq 15=5/13 according
to following columns.

2               3       4               5       6
throughput	CPU	thr_per_CPU	rx_pkts	tx_pkts
7       8       9       10      11      12      13
rx_byts tx_byts	re_pkts	rx_intr	tx_intr	io_exit	irq_inj
14             15
tpkt_per_exit rpkt_per_irq

Signed-off-by: Wenli Quan <wquan@redhat.com>
virttest.libvirt_xml: Add API to check if given disk exists in domain

Signed-off-by: Yanbing Du <ydu@redhat.com>
virttest.qemu_storage: API to get qemu image format

Signed-off-by: Yanbing Du <ydu@redhat.com>
virttest.utils_test.libvirt: API to check block job

Signed-off-by: Yanbing Du <ydu@redhat.com>
Merge pull request #1417 from autotest/1317

Remake of PR 1317
virttest.virsh: Add new blockcopy() and blockjob() APIs

So we can properly implement the test virsh_blockcopy.
Also, fix some docstrings of other virsh methods.

Signed-off-by: Yanbing Du <ydu@redhat.com>
Merge pull request #1418 from autotest/virsh-blockcopy

virttest.virsh: Add new blockcopy() and blockjob() APIs
virttest.qemu_devices: Fix the QMP command for device unplug

Correct QMP command sends arguments as object ({'id': ...}) and not
as pure text.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
virttest.qemu_devices: Support strict_mode enforcing while qdev.insert

It might be beneficial to be able to override the strict_mode for single
device while inserting it.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
virttest.qemu_devices: Remove completed TODO comments

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>