libvirt.test: Fix a bug in setvcpus

In test, such fail will show up:
local variable 'status_error' referenced before assignment

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Add a public function for create lvm, and remove lvm option from
cfg file
Add some lvm cases for libguestfs
Add case for testing lvuuid, lvm-set-filter and lvm-clear-filter
test.volume_application: Check parameters before running.

Put parameters in config-file may cause preprocess error.
So move them to test module and check cdrom before running.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
tests.volume_application: Fix bugs.

 * Parted device in vms is optional because parted command
   may not exist.
 * Disk volumes couldn't be created in disk pool, so create
   them before create_volumes(...).
 * Pools will be in busy if we do not detach them on vms.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Add filter for migrate speed with bz1083483.

Signed-off-by: John Ferlan <jferlan@redhat.com>
libvirt.tests: Wrap set_get_speed operations to single function.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Merge pull request #149 from liyangfnst/setvcpu_status

libvirt.test: Fix a bug in setvcpus
Merge pull request #183 from yumingfei/fix_volume_application

tests.volume_application: Fix pool problems and check cdrom.
tests.migrate_set_get_speed: Remove useless parameters.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virsh.attach_detach_disk: Replace TAB with 4 spaces.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Merge pull request #192 from yangdongsheng/tab

virsh.attach_detach_disk: Replace TAB with 4 spaces.
Merge pull request #184 from yumingfei/migrate_speed_enhancements

libvirt.tests: Migrate speed enhancements
Merge pull request #178 from vanbogithub/bfan-dev

Add and modify some test case for lvm test