shared.deps: Add netperf tarball

Since it is necessary by default by the netperf test.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virsh_vcpupin: use libvirt submodule for call

Commit id 'b94ccb677' missed the libvirt submodule reorganiation
for the 'cpu_allowed_list_by_task()' call resulting in the error:

AttributeError: 'module' object has no attribute 'cpu_allowed_list_by_task'
Merge pull request #1005 from jferlan/virsh_emulatorpin

virsh_emulatorpin: Fix syntax error
virsh_nodeinfo: Alter algorithm for cpu frequency

Obtaining the /proc/cpuinfo at two different points in time
can result in slightly different values for 'CPU frequency'.
So rather than just straight out fail because they don't match
exactly, allow for a 20% variation of either value before
declaring failure
Merge pull request #1004 from jferlan/virsh_dumpxml

virsh_dumpxml: Need to populate output
Merge pull request #1006 from jferlan/virsh_vcpupin

virsh_vcpupin: use libvirt submodule for call
virttest: Check remote path directly in is_mounted in utils_misc

Don't use realpath to convert remote path in is_mounted. Otherwise it may
return a local path and failed the check.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Rename test from "virsh_" to "virsh."

Address test that was missed in the 'b5f2911a' commit to change all
tests from "virsh_*" to "virsh.*"
Merge pull request #923 from spiceqa/hmp

virttest/qemu_monitor.py: Allow '=' in parameter string for HMP
shared/unattended/RHEL-6.3.ks: Revert changes from 1ba831e1

Turns out the package libjpeg-turbo-devel could not be
found on the install DVD, causing trouble during regression
testing run. The changes need to be reverted until the
author can get a more precise listing.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.bootstrap: Remove logging.critical line put by accident

I'm the responsible for the line. My apologies.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
libvirt_vm: fix for setup_serial_console.

Sometimes, VM.serial_ports is not None, but the VM.serial_console is None,
then we need to setup a serial_console in VM.setup_serial_console() method,
instead of returning immediatly.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Merge pull request #1007 from jferlan/virsh_nodeinfo

virsh_nodeinfo: Alter algorithm for cpu frequency
Creating a ks file for creating SPICE testing VMs

Signed-off by: Swapna Krishnan (skrishna@redhat.com)
Merge pull request #1008 from jferlan/virsh_snapshot_dumpxml

Rename test from "virsh_" to "virsh."
Merge pull request #966 from FengYang/update

some update and bug fix for next tree.
virt: Enhance utils_selinux

* Made MLS range patern matching optional in get_context_from_str(context)
  since this information isn't always provided/available.

* Added function to extract only the context type from a context string
  since many selinux commands only work with a type anyway

* Added get/set/del functions to manipulate default file contexts on system

* Added search function to look up a type based on a path

* Added unittests for new functions

* Added special exception if semanage tool doesn't exist

* Added functions and unittests for getting/verifying/setting
  default contexts on specified path.

* Added function to apply default contexts onto file/dir

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: get_started/bootstrap SELinux setup

Default testing for libvirt and lvsb should be done with SELinux
enabled + enforcing.  However, this expects certain file/dirrectory
contexts to be setup to standardized values.  Unless the default
contexts are also set in the local SELinux policy, changing
those directories in any way will leave them with incorrect
contexts again.  Additionally, we want to be as user-friendly
as possible, checking/setting/warning as appropriate from
get_started.

* If SELinux is disabled or not available, issue warning it
  should be enabled when possible.

* If tooling is not available, print an informative message
  on how the default contexts can be set up.

* If tooling is available, and there are no prior default
  contexts, establish them, otherwise leave the existing ones alone.

* If on-disk contexts don't match expected standardized
  values, inform the user that relabeling is needed.

* Auto-fixed a bunch of pep8 reported problems

* Avoid unnecessarily re-creating shared/data symlink
  before selinux defaults/labels are checked/set

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: Improve utils_selinux comments/docstrings

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: Fix comment spelling mistakes

Signed-off-by: Chris Evich <cevich@redhat.com>