virt: Add get_status function for kvm_monitor QMP class

Human monitor have get_status() function, but QMP class do not
have.  So some case fail with QMP monitor

Signed-off-by: Feng Yang <fyang@redhat.com>
KVM: Fix extranious calls to add_netdev when netdev_id already set

Signed-off-by: Chris Evich <cevich@redhat.com>
install-autotest-server.sh: Introduce Ubuntu support

I have noticed recently lots of people having trouble
to install the autotest server on Ubuntu (11.10, 12.04).
As we have a large user base, it became obvious that we
need to cater to these new users by making things easier
to install.

Therefore, I've expanded the install server script to
also work with Ubuntu. It's important to note that the
only version tested was 12.04, and it seems to be working
pretty well. It's a fact that later we'll have to refactor
the script and add more features, but this is a good first
pass.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
frontend: Update HTML templates

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt: Add a new type of floppy command line

In new version of qemu, floppy device can be added by -drive
-global. So add this part of code and also support two floppy
in guest.

changes from v1:
  - Drop eval()
  - Delete unused line
  - Add related params fix in unattended_install and floppy test

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Revert "utils: Don't clean example src directories"

Let's fix this issue by move examples to other directory

This reverts commit bc43cafb2c005071cf66cabdee114d21cf27950a.
Add handling 'repo' boot option for xen pv

Hi,
I miss this patch when push handling Fedora 17 boot options (repo and ks).

With Xen PV guest we use autotest http server as repository for installation
packages because xen (RHEL5) does not support cdrom emulation. This change
has to be properly reflected in 'repo' boot option. We have to use
http address instead of cdrom path.

Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
boottool: updated minimum required grubby version to 8.13

Since this upstream version now has all autotest patches.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
virt: move example patches to tests/ffsb/

example patches was put to a source diretory,
therefore utils/make_clean would erase them
in every autotest server run.
This patch moved patches to client/tests/ffsb/

Signed-off-by: Amos Kong <akong@redhat.com>
install-autotest-server: Fix autotest git repo clone

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Virt: Add virsh_nodeinfo() function

Signed-off-by: Gu Yanhua <guyanhua-fnst@cn.fujitsu.com>
Add virsh_nodeinfo.py to test virsh_nodeinfo command.

Signed-off-by: Gu Yanhua <guyanhua-fnst@cn.fujitsu.com>
Add configuration for "virsh nodeinfo".

Signed-off-by: Gu Yanhua <guyanhua-fnst@cn.fujitsu.com>
virt: Set floppy for UnattendedInstallConfig in unattended install

Set up floppy for UnattendedInstallConfig object. Otherwise the
cases run unattended_install without floppy will raise an
AttributeError.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
client/virt/tests/rv_disconnect.py:Remote-viewer disconnect test

Added remote-viewer disconnection test. Test checks if remote-viewer is properly closed.
Also checks guest VM is alive after this operation.

Signed-off-by: Vaclav Ehrlich <vehrlich@redhat.com>
client/virt/subtests.cfg.sample: Add variant for rv_disconnect

Added variant for Remote-viewer disconnect test

Signed-off-by: Vaclav Ehrlich <vehrlich@redhat.com>
client/tests/kvm/tests-spice.cfg.sample: Added variant for rv_disconnect

Added variant for remote-viewer disconnect test

Signed-off-by: Vaclav Ehrlich <vehrlich@redhat.com>
KVM test: Use customized command to fetch the version of kvm and its userspace

We need to run the test for different kinds of host, so we need to use
customized command to fetch their version for rhel5 or rhel6. This patch
let use the "kvm_ver_cmd" and "kvm_userspace_ver_cmd" to get the version for
kvm or kvm userspace.

I have made the kvm_ver_cmd and kvm_userspace_ver_cmd to be self adapted for
both RHEL5 and RHEL6.

Signed-off-by: Jason Wang <jasowang@redhat.com>
virt.libvirt_vm: Fix VM class to use proper drive bus parameter

This patch fixes this issue -
https://github.com/autotest/autotest/issues/390

Signed-off-by: Onkar Mahajan <onkar.n.mahajan@linux.vnet.ibm.com>
virt: Use get_image_filename to get the snapshot and base file name

The file name for snapshot and base image in QemuImg class of
virt_storage should get by function get_image_filename but not
get_path.
Also fix the index problem for get snapshot tag.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>