virt.qemu_vm: Add more info to ImageUnbootableError exception

This exception might make user confused, so add some more info
to its message.

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
tests.cfg: Limit save_restore test on Linux guest

The save_restore.py script contains some linux-specific
operation, thus add a filter to limit it on Linux guest.

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
qemu.tests.physical_resource_check: Update memory check pattern

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
Merge pull request #320 from zhouqt/minor-fix

Minor fix for qemu testing
shared.cfg.guest-os: Add config for RHEL-6.4 guest

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
shared.cfg: Add config for Ubuntu-13.04 guest

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
Fix a couple of indentation problems found during check script run

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
standalone_test: Fix TAG_INDEX problem

When the guest_name changes (arch, machine, ...) the TAG_INDEX length
might differs from the previous one. Store indexes per name to avoid
shortname corruption.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
virt: Add OpenSUSE 12.3 x86_64 config.

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: Fix legacy driver_type 'kvm' use

* Get rid of old virt-test reference to 'kvm' driver_type
* virtnet style doesn't care about kvm vs qemu difference
* unattended_install uses it for both qemu and libvirt virt-test
* No other usage found for vm.driver_type sensitive to 'kvm' value

Signed-off-by: Chris Evich <cevich@redhat.com>
virttest.funcatexit: Prevent weird errors while storing nasty args

Because all arguments are stored in env we have to ensure the arguments
are pickable before storing them. Otherwise users would get weird errors
pointing at env:
    TypeError: can't pickle ... objects

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
virttest.funcatexit: Prevent weird errors while storing nasty functions

Local functions are not pickable. Raise a sane exception when the test
tries to use them.

Global functions (defined on the module scope) are fine.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
virt and standalone_test: Raise TestWarn when funcatexit fails

Since funcatexit are cleanup functions, make the test fail with
TestWarn and proceed with postprocess_on_error.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
shared.cfg: Show guest disk/nic/cpu/image config by default

Normally, these configs are important to a test job, thus show
them all in test's name.

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>