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