virttest.virsh: Add a parameter for VirshSession to make remote session clear.

With original logic of VirshSession.__init__(), we have
not choice but configuring auto-ssh-login for "local to
remote: virsh -c uri".
While for other types driver like esx, it will fail.
Now support login with password if auto-ssh-login is impossible.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Fix bug for remote testcase of vcpuinfo.

The parameter "connect_uri" will effect vm's connect_uri.
But it is not useful in remote testcases because what we
need is remote_connect_uri which means connection from
remote to local.
And it shouldn't replace connect_uri of libvirt_vm, otherwise
all operation to local vms will need authorization.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virttest.virsh: Add domiflist function

Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
virsh_cmd: Add virsh domiflist test case

Step 1: Get the virsh domiflist value.
Step 2: Check for interface in xml file.
Step 3: Check for type in xml file.
Step 4: Check for model inside the guest and xml file.
Step 5: Check for mac id inside the guest and xml file.

Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
virttest.virsh: Coding style fix

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>