adding qemu sandboxing option

Adding new command line argument to "./run" script: "-s,--qemu_sandbox".
It enables the Qemu command line argument "-sandbox on", running all
tests with the system call filter turned on.

Signed-off-by: Eduardo Otubo <otubo@linux.vnet.ibm.com>
virttest.utils_net: Support multiqueue macvtap

This patch make autotest support multiqueue Macvtap

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
Add msix vectors support

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>

Conflicts:
	virttest/qemu_vm.py
tests.nic_hotplug: make nic_hotplug support msix vectors

Support a nic with msix vertors

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
test.multi_queues_test : Add some tests for multi queues

This patch add some tests for multi queues.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>

Conflicts:
	tests/enable_mq.py
qemu.test.virtual_nic_send_buffer: Some modification

Make file transfer support tcp, udp or both.
Add netperf_udp burst test
ignore errors when deleting the test file on host and guest.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
virt-libguestfs: Add 'EDITOR' set in control file

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt: Add functions to get first nic of domain

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt: Add virt_cmd function in utils_libguestfs module

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt-libguestfs: Add test for virt-sysprep command

1. Clone a guest and login this guest to do some actions
2. Execute virt-sysprep to reset or unconfigure a virtual
   machine so clones can be made
3. Confirm reset result.

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt-libvirt: New libvirt_xml accessor generators

* Small behavior fix on XMLElementText
* XMLElementBool: Treat "flag" elements as boolean values for presense
* XMLElementNest: Allows "nesting" an arbitrary LibvirtXMLBase subclass
                  then rerooting it's XML under a parent element
* XMLElementList: Represent duplicate child elements (valid in XML) as
                  if it were a list, with values marshaled to/from XML
                  and opaque values.
* Added unittests for all three

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: Remove disused VM methods

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: Fixup some unittest whitespace

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: Implement libvirt_xml.devices.disk

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: Rename address device property

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: XMLAttribute accessor behavior fix

All other "get" accessors raise xcepts.LibvirtXMLNotFoundError when
their data doesn't exist.  If this returns None, then caller may
mistake the value as None, when there is no value.

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: Fix broken restore() functionality

* The backup/restore logic inherrited by xml_utils.XMLTreeFile
  is backwards from the perspective of a caller.
* xml_utils.XMLTreeFile must re-parse the tree after restoring
  from the backup.
* Provide restore() convenience method so test code doesn't
  need to access xmltreefile attribute directly.

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: Don't take screenshots of dead VMs

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: Fix short login timeout before reboot

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