add test for virt-xml-validate

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>

virt_xml_validate: fix an spelling error in cfg and provide an interface for other schemas.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Add test for virt-top.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>

virt_top: remove an unused variable.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
libvirt.test: Fix a bug for attach-device

In old libvirt version, '--config' and '--persistent'
cannot be used together. and we'd better test them
separately.

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt.test: Modify target_uri param to use remote_ip

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt.test: Skip test if current large than max vcpu

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virsh.dompmsuspend: Code adjust and log level fix

1. Move variable 'need_mkswap' out of if block to reduce the judge levels.
2. Fix the debug log level.

Signed-off-by: Yanbing Du <ydu@redhat.com>
Merge pull request #279 from will-Do/dompmsuspend

virsh.dompmsuspend: Code adjust and log level fix
Merge pull request #275 from liyangfnst/set_fix

libvirt.test: Skip test if current large than max vcpu
Merge pull request #270 from liyangfnst/attach_device_fix

libvirt.test: Fix a bug for attach-device
Merge pull request #271 from liyangfnst/uri_fix

libvirt.test: Modify target_uri param to use remote_ip
Merge pull request #261 from yangdongsheng/virt_cmd_lxc

Add test for virt-top and virt-xml-validate. (qemu & lxc)
svirt_start_destroy: Add test cases with security_driver as none

The setting in qemu conf affects the behavior when starts domain with
seclabel, by default the security_driver is selinux and dac, in this
commit add the security_driver as 'none' test cases.

Signed-off-by: Wayne Sun <gsun@redhat.com>
svirt_start_destroy: Add bug number to label restore FAIL cases

The label restore problem is a long time existing bug we are aware of,
and no fix in upstream yet, check more info in:
https://bugzilla.redhat.com/show_bug.cgi?id=547546

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