virt: Update virt_utils and unittests net code

* Fixed few more places where upper-case mac-byte strings getting through
* Added comments drawing attention 'why' mac generation class prop.
* Print up to 10 warnings on invalid mac input.

Signed-off-by: Chris Evich <cevich@redhat.com>
apache/conf/django-directives: Remove WSGIDaemonProcess directives

As we might have trouble getting them to work on older
mod_wsgi versions, while the rules should still work OK.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
rv_connect: Prevent killing jobs with disown

Because gnome-session with nohup closed after closing connection,
there is need to use disown for gnome-session and remote-viewer jobs.
New method addred get_pid() which returns PID of job. This PID
is used for disown.
After that remote-viewer is alive after reconnection.

Signed-off-by: Vaclav Ehrlich <vehrlich@redhat.com>
client.shared.boottool: Fix python 2.4 non compliance

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
utils: Don't clean example src directories

make_clean checks for the word 'example' in the src directory path

Signed-off-by: Chris Evich <cevich@redhat.com>
boottool: build from local tarball if possible

In our environment, there is a firewall between client machines and the
outside world, downloading the grubby tarball from github will fail. But
we have the tarball in the autotest tree on the server. So push it out
as part of the set of files sent to the client. In bootool, look for the
tarball in the current directory, the autotest top directory (if running
under autotest) and fallback to the remote tarball if neither of those
work.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
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>