virttest.libvirt_vm: Add functions to get device details.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
utils_test: Add functions for remote disk operations.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
utils_test: Support lvm for RemoteDiskManager.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
utils_test.libvirt: Add attaching operations for libvirt vm.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
utils_test.init: Add function for RemoteDiskManager.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
utils_test.HostStress: Set default value for params.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
utils_test: Pass correct args to control file.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
utils_test.run_autotest: Support to pass args for control.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Add functions to get disk slots and disk type in xml.
virttest.virsh: add blkiotune command wrapper

Signed-off-by: Alex Jia <ajia@redhat.com>
virttest.utils_misc: add functions for getting major and minor numbers of the device

Signed-off-by: Alex Jia <ajia@redhat.com>
virttest.libvirt_xml.vm_xml: parse block I/O elements from XML

Signed-off-by: Alex Jia <ajia@redhat.com>
virttest.utils_net: support ip address deleting

Signed-off-by: Alex Jia <chuanchang.jia@gmail.com>
virttest: Add virsh qemu-attach and qemu-agent-command wrapper

Add 2 qemu commands wrapper and update qemu_monitor_command to support
extra options.

Signed-off-by: Wayne Sun <gsun@redhat.com>
libvirt_vm: Add '--hmp' option for get_vcpus_pid function

As updated the qemu_monitor_command, the get_vcpus_pid function is
affected as it use hmp command, so add the option '--hmp' for run
the command.

Signed-off-by: Wayne Sun <gsun@redhat.com>
virt: Do store_vm_register only vm_type is qemu

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt: Fix a bug in RemoteFile init

If remote file doesn't exist, SCPTransferFailedError
will be catched, and then creat a new empty file om
local host.

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Modify get_disk_slots function to get_virtio_disk_slots.
Disable virtio_scsi test for Ubuntu 11.04 to 13.04
Disable virtio_scsi test for all ubuntu guest which older than ubuntu 14.04