qemu/tests/rv_audio.py: Increase default acceptable pause

Some problems with alsa and loopback devices cause
some stuttering in the audio stream. Let's make the
rv_audio test more lenient, as we're interested in
seeing if there is *some* playback, not focusing in
the quality of the stream.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
qemu/tests/rv_smartcard.py: Rename Gemplus to Gemalto

The smartcard reader is emulated with new name - Gemalto
instead of Gemplus. So check for this name.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
client_guest_shutdown.py: Destroy VM gracefully.

If the shutdown is not successful, destroy the VM
gracefully, so It does not stay alive.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
qemu/cfg/tests-spice.cfg: Add rv file and gui tests.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
tests/rv_build_install.py: Change path to deploy epel repo func.

- Change path to deploy epel repository function which was moved
  to utils_spice under virttest.
- rv_clearx test does not exist anymore, use function from
  utils_spice as well.
- small refactor to fix warnings from pylint.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
virttest/utils_spice.py: Adding several functions.

Adding functions to install remote-viewer on windows client,
to generate a file with information required for connection
and also restarting of user interface on any VM (so far
linux only) and function for installing epel repo.

Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
rv_connect.py: Add support for proxy, file and prepare win client

This patch changes how remote-viewer is executed, so that we can get
it to work on windows machines, with proxy and connecting using
a provided file.
Delete useless keys send for r-v menu test.

Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
shared/unattended/RHEL-6-spice.ks: Add deps for GUI testing

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>