virsh.setmem: Case extend to cover more functional scenarios

Signed-off-by: Yanbing Du <ydu@redhat.com>
libvirt.tests: Support automatic iscsi device for migrate-virtio-scsi test.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Unify paramters for migration tests.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
tests.migrate: Remove copy_storage testcases from live migration.

Migrate vm with --copy-storage-all/--copy-storage-inc work not
well with live migration.And since it's already complemented
in virsh.migrate_copy_storage, remove them here.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virsh.cpu_baseline: Remove tmp file

Signed-off-by: Yanbing Du <ydu@redhat.com>
Tests for updating interface link state.

Update link state by update-device command.
Check link state in guest.
Tests for interface driver.

Supported drivers: virtio-net, e1000, rtl8139.
Wait for device is ready on guest after attach-device operation.
Modify as cleanup_env add 1 more element
virsh_iface_bridge: add checkpoints for iface-bridge test

add two checkpoints for the test of iface-bridge command
1) The new bridge's IP should keep the same as original interface' IP.
2) If '--no-stp' option isn't specified, the STP should be enabled.
Merge pull request #355 from PandaWei/iface

virsh_iface_bridge: add checkpoints for iface-bridge test
Merge pull request #360 from will-Do/clear_tmp_file

virsh.cpu_baseline: Remove tmp file
timer_management: Get correct UTC and timezone time

1. Both 'date -u +%s' and 'time.time()' will get localtime(timezone time)
   instead of UTC time.
2. 'time.mktime()' output is platform-dependent, and affected by daylight
   and timezone, which means translate timestr on different boxes may have
   different results. Here fetch both UTC and timezone time in the same
   format and translate on the same box to get relative gap.
3. For 'offset=timezone' setting, the host timezone should be set before
   the guest active.

Signed-off-by: Yanbing Du <ydu@redhat.com>
virsh.setmem: Fix the expected memory value

1. After do 'save', 'managedsave' and 'S4' actions, the VM will shutoff
and then VM memory will keep the original state after restore or
start it. It only take effect after restart VM. And, the VM memory
settle action should done before these actions.
2. Fix the check logic for old version libvirt.
virt_xml_validate: Add more cases for other schemas

new supported schemas including below:
    domainsnapshot, network, storagepool, storagevol,
    nodedev, capability, nwfilter, secret, interface
Merge pull request #353 from yumingfei/enhance_mig_virtio_scis

libvirt.tests: Support automatic iscsi device for migrate-virtio-scsi
Merge pull request #371 from kylazhang/fix_bugs

Modify as cleanup_env add 1 more element
Merge pull request #363 from PandaWei/virt-cmd

virt_xml_validate: Add more cases for other schemas
blockcopy: Add nfs disk target testing case

Add test case with blockcopy target disk on nfs mount path.

Signed-off-by: Wayne Sun <gsun@redhat.com>
blockcopy: Add negative cases under active job

Snapshot and save will fail during active job on disk.

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