subtests.cfg.sample: Fix wrong indentation

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.spice: Adding Full Screen Tests

Signed-off-by: Vimal Patel <vipatel@redhat.com>
virt.spice: Defining Full Screen & Setup tests

Defining fullscreen_setup & fullscreen tests, and
add a full_screen parameter to the rv_connect test.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
virt.spice: Adding the full screen option for the Remote-Viewer Test

Signed-off-by: Vimal Patel <vipatel@redhat.com>
virt.spice: Adding a Full Screen Setup Test

The purpose of the test is to setup the VMs for
the full screen tests, change the resolution of
the guest VM so the VMs have different resolutions,
and start spice-vdagentd prior to remote-viewer
connection.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
virt.spice: Add a full screen test

Adding a test to verify a remote-viewer connection
with the full screen option the guest takes the
resolution of the client, and it also supports the
negative test if connected w/o the full screen
option the resolution of the guest will not take
on the resolution of the client.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
virttest.virsh.py: bugfix on qemu_monitor_command function

I found later that the problem I was referring in the
below issue relates only to the virsh vcpupin testcase
since it uses qemu_monitor_command function.

After the introduction of virsh class, there is a function
named 'command' got introduced, which was getting conflict
with the command variable and below patch solves the issue.

https://github.com/autotest/autotest/issues/555

Excerpt of error log:
----
17:52:44 DEBUG| Destroying VM
17:52:44 WARNI| Requested MAC address release from persistent vm vm1.
Ignoring.
17:52:44 ERROR| FAIL -> TypeError: 'str' object is not callable
FAIL (3.42 s)
----

Sorry for the confusion if any caused.

Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
tests.ping: Fix out of scope variable error

The test iterates through pkt_sizes even we're not on
windows, so move its definition up.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt: Repairs Migration_multi_host_fd test Pylint correction.

Pylint correction makes migration_multi_host_fd test dysfunctional.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
Add tools subdirectory

The tools subdirectory will include useful scripts for
users of the virt tests. The first app is the koji/brew
pkg spec tool, that allows people to list information
about a koji or brew build.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt-libvirt: /tests/virsh_uri: virsh_uri bugfix

connect_uri is used for canonical_uri(),but it will not
be changed even remote test. While the connect_uri for
remote test should be target_uri.

Signed-off-by: Yu Mingfei<yumingfei@cn.fujitsu.com>
virt-libvirt: add virsh_nodecpustats function

Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
virt-libvirt: add virsh_nodecpustats configuration

Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
virt-libvirt: add virsh_nodecpustats module

Test the command virsh nodecpustats

(1) Call the virsh nodecpustats command for all cpu host cpus
    separately
(2) Get the output
(3) Check the against /proc/stat output(o) for respective cpu
    user: o[0] + o[1]
    system: o[2] + o[5] + o[6]
    idle: o[3]
    iowait: o[4]
(4) Call the virsh nodecpustats command with an unexpected option
(5) Call the virsh nodecpustats command with libvirtd service stop

Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
virttest/storage.py: Fix backup of good images

It took us a while to notice that the source for good
images was incorrect in the backup code:

10/19 08:07:59 DEBUG|   storage:0185| Copying
/tmp/kvm_autotest_root/images/win7-64-sp1.qcow2.backup ->
/tmp/kvm_autotest_root/images_archive/win7-64-sp1.qcow2.good.XWUf
10/19 08:07:59 INFO |   storage:0189| No source file
/tmp/kvm_autotest_root/images/win7-64-sp1.qcow2.backup, skipping copy...

Let's fix that.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt-libvirt: add function schedinfo to virsh.py.

Signed-off-by: Yu Mingfei<yumingfei@cn.fujitsu.com>
virt-libvirt: add virsh function setmem.

Signed-off-by: Yu Mingfei<yumingfei@cn.fujitsu.com>
virt-libvirt: add configuration for virsh setmem test.

Signed-off-by: Yu Mingfei<yumingfei@cn.fujitsu.com>
virt-libvirt: add methods dominfo & get_current_mem

Signed-off-by: Yu Mingfei<yumingfei@cn.fujitsu.com>
virt: Add configuration for Ubuntu 12.10

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