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>
tests/rv_clearx.py: Removing clearx

It's a lot better to clean interface from rv_connect

Signed-off-by: Tomas Jamrisko <tjamrisk@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>
shared/unattended/RHEL-6.3.ks: Add deps for GUI testing

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
qemu/tests/smartcard_setup.py: Clear gnome session.

Clear gnome session in the beginning of the test.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
fullscreen_setup.py: Changing starting vdagent under root.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
qemu/tests/rv_audio.py: Increase default acceptable pause

Some problems with alsa and loopback devices causes
there are some pauses in audio stream. Let's use
the test as basic test there is some audio playback
and not how good the playback is.

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>
INTERNAL rv_video.py: Added RHEL 7 support

Rhel 7 uses dconf instead gconftool-2 for configuration.
Added condition compares release string from /etc/system-release.

Signed-off-by: Vaclav Ehrlich <vehrlich@redhat.com>
INTERNAL Adding the configuration for the setup and gui tests.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
INTERNAL virttest/utils_spice.py: RHEL7 gdm restart.

Restart GDM instead of Xorg on RHEL7.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
INTERNAL qemu/tests/rv_connect.py: GUI tests support.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
INTERNAL rv_gui.py: Adding the GUI tests for spice testing.

rv_gui will deploy dogtail tests specified by the user,
and for each test specified it will also do verification
that is required for the test before and after the test is run.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
INTERNAL rv_setup.py: Adding a setup test for all spice tests.

Currently the setup test will install dogtail,
and move the dogtail scripts over to the client.
However, it can be used to do any setup required
for the spice tests.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
INTERNAL: qemu/cfg/tests-spice.cfg: Add rv file and gui tests.

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>
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>