virttest.utils_libguestfs: Enhancements of virt_edit interface.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virttest: Extract output between last two prompts in virsh session

In virsh_net_start case, occasionally net_state_dict can't find
default network in net-list command output from virsh session. The
cause is list command output is mixed into net-list command output
of unknown reason.

For solving the problem, make output of virsh session command only
contains content start from the second prompt if the second prompt
is found in output reversed list.

Override the read_until_output_matches function in Expect within
VirshSession to limit the change to only affect the virsh session.

Signed-off-by: Wayne Sun <gsun@redhat.com>
virttest.utils_misc: Fix bug of zero disk size for get_image_info.

When disk size is zero, get_image_info will raise ValueError because
normalize_data_size return a null string. But zero of disk size
should be allowed.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Run: Import virttest.defaults before calling it.

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

Run: Import virttest.defaults before calling it.
Merge pull request #1648 from yumingfei/get_image_info_bug

virttest.utils_misc: Fix bug of zero disk size for get_image_info.
Merge pull request #1638 from waynesun09/aexpect

virttest: Extract output between last two prompts in shell session
Merge pull request #1609 from yumingfei/virt_edit

virttest.utils_libguestfs: Enhancements of virt_edit interface.
utils_test: Replace autotest with new autotest-local.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Add function for checking disk type in vm xml.
.travis.yml: Notify the IRC channel of every Travis CI job result

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1656 from autotest/travis-irc-notifications

.travis.yml: Notify the IRC channel of every Travis CI job result
Merge remote-tracking branch 'upstream/master'
Merge pull request #1655 from rbian/master

Add function for checking disk type in vm xml.
Merge pull request #1653 from yumingfei/stress_update

utils_test: Replace autotest with new autotest-local.