Add test for clear_emulator_capabilities in qemu.conf

Test clear_emulator_capabilities parameter in qemu.conf.

1) Change clear_emulator_capabilities in qemu.conf;
2) Restart libvirt daemon;
3) Check if libvirtd successfully started;
4) Check if qemu process capabilities changed accordingly;

Signed-off-by: Hao Liu <hliu@redhat.com>
Add test for set_process_name in qemu.conf

Test set_process_name parameter in qemu.conf.

1) Change set_process_name in qemu.conf;
2) Restart libvirt daemon;
3) Check if libvirtd successfully started;
4) Check if qemu command line changed accordingly;

Signed-off-by: Hao Liu <hliu@redhat.com>
Add test for seccomp_sandbox in qemu.conf

Test seccomp_sandbox parameter in qemu.conf.

1) Change seccomp_sandbox in qemu.conf;
2) Restart libvirt daemon;
3) Check if libvirtd successfully started;
4) Check if qemu command line changed accordingly;

Signed-off-by: Hao Liu <hliu@redhat.com>
Cpu mode test case with managedsave command.
svirt_attach_disk: Add test cases for pool volume

Add test cases for netfs pool vol with virt_use_nfs sebool set.
Add iscsi and disk pool vol with check rawio capabilitiy.

Signed-off-by: Wayne Sun <gsun@redhat.com>
svirt_attach_disk: Fix typo and TestNAError usage problem

Fix TestNAError implicit substitue problem and s/successed/succeeded/

Signed-off-by: Wayne Sun <gsun@redhat.com>

fix TestNAError usage problem
virsh.cpu_baseline: Using baseline cpu to config guest

Signed-off-by: Yanbing Du <ydu@redhat.com>
virsh.iface_bridge: add a negative case for iface not existing.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
virsh.iface_bridge: fix bug when delay is not zero.

    when option of delay is not zero, we will get a FAIL in test.
    Because the default ping count is 3, so it will fail to ping
    remote_ip in 3 second.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
virsh.setmem: Update case for inactive dominfo change

In the following patch inactive domain used memory is shown as 0 in
`virsh dominfo`.
https://www.redhat.com/archives/libvir-list/2014-July/msg00887.html

This patch fix setmem according to this change.

Signed-off-by: Hao Liu <hliu@redhat.com>
virsh.dumpxml: cpu features check enhancement

In the case, custom_cpu() hard code the feature name and policy to
update domain xml.  When check cpu features after run vrish dumpxml
command, we need check if the added features are supported by host
to get the expect require features.

Signed-off-by: Yanbing Du <ydu@redhat.com>
libvirt.tests: Add testcases for migrating with virtio-scsi devices.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Support default value for --timeout in .cfg files for virsh migrate.

Migrate with stress may cost more than the old default value for
"virsh migrate --timeout", which was 60 and was assigned in the .py files.
This patch provides "virsh_migrate_timeout" param in .cfg files.
svirt_attach_disk: Modify rawio capabilitiy check with bit and

Run capsh --decode on host will met problem on rhel6, so change
to use 'bit and' with rawio capabilitiy value.

Bug on rhel6:
  $ capsh --decode=fffffffc00020000
will got endless output in stdout

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add more managedsave cases.

Autostart the managedsave guest with auto_start_bypass_cache=1 in qemu.conf.
The managed save image is removed when undefining the domain with "--manage-save" flag.
List the domains with managed save state.
Managedsave with security_driver option.
Modify parameters of set_seclabel function as for autotest/virt-test#1794.
libvirt.tests: Append lost disk format.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virtual_disks_multivms: Add test case for shared readonly iso img

Add test case for readonly iso for multiple vms, also add check
with seclabel of shared img and iso.

Signed-off-by: Wayne Sun <gsun@redhat.com>
modify for gluster pool and volume test
svirt_start_destroy: Add test cases for baselabel

Add test cases for selinux baselabel, also simplify filter names
in cfg.

Signed-off-by: Wayne Sun <gsun@redhat.com>