Add test for snapshot current and parent

Signed-off-by: Kyla Zhang <weizhan@redhat.com>
qemu:Disable balloon_fix_value case in ppc64

ppc64 platform does not support X86 ACPI s3 and s4 cases,
disable it in ppc64 platform

Signed-off-by: Man Li <limansh@cn.ibm.com>
Signed-off-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
qemu.tests.multi_disk_random_hotplug: Improve the unplug part

This patch changes the handling of unplug. The simplu_unplug has sometimes
problem detecting correctly the unplug status, as it might take seconds
before the disk is removed (monitor returns output, but qemu still
waits for OS repsonse before it removes the device from qtree).

This custom handler waits up to 1s for device to be removed and even
when it's not proved to be removed it removes it from representation.
We can afford this as all devices are again checked later in the test
and the VM state is for the whole period set to dirty.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.multi_disk_random_hotplug: Improve logging

Add context for easier debugging.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.multi_disk_random_hotplug: Put images_define in try/catch

The qdev.images_define_by_variables needs to be in the try/except
block in order to work as expected (remove format and try another round)

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.multi_disk_random_hotplug: raise exception if no disks added

With incorrect configuration it might happen that no disks can be added.
Throw exception instead of simple warning and clean test run.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
libvirt_vm: remove setup_serial_ports() method.

Commit c37a86ca picked out the create_serial_console() from setup_serial_ports(),
and call it in env_process(). But it is not robust enough.

This patch rename the setup_serial_ports() to create_serial_console() to be called
in env_process() and remove the older create_serial_console().

Reported-by: Yanbing Du <ydu@redhat.com>
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Reviewed-by: Yanbing Du <ydu@redhat.com>
Tested-by: Yanbing Du <ydu@redhat.com>
virt-test: add Fedora 20

Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
shared/cfg/guest-os/Windows/WinXP/i386.cfg: remove leading white space

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Merge pull request #1336 from ldoktor/add_device

qemu.tests.multi_disk_random_hotplug: Couple of little improvements and bugfixes
Merge pull request #1337 from rbbratta/fedora_20

virt-test: add Fedora 20
libvirt.virsh_snapshot_create_as: Fix indentation problems

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
qemu.tests.timedrift_adjust_time: Fix indentation problems

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.utils_test: Fix indentation problems

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

Indentation fixes
shared.downloads: Add Fedora 20 asset file

It is handy for people wanting to download the recently
released OS's iso.

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

shared.downloads: Add Fedora 20 asset file
Merge pull request #1131 from kylazhang/snapshot-branch

Add test for snapshot current and parent test
Merge pull request #1332 from cevich/issue_1303_fix

Issue 1303 fix
libvirt: use handle_prompts() to wait for end of 'ZZ' in session.

Currently, we use time.sleep(1) to wait for the end of 'ZZ' in session,
but it does not work well in any conditions.

This patch replace time.sleep(1) with remote.handle_prompts().

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>