libvirt: Add test module for virsh cpu-baseline

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt: Add virsh function for virsh cpu-baseline

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt: Add test module for virsh net-destroy

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt: Add test module for virsh net-dumpxml.

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt: Add test module for virsh update-device.

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virttest.qemu_vm: Make boot and bootindex to work correctly

This patch will fix wrong boot setup when set 'boot = on' in cfg files
for cases need more than one disk.

When 'boot = on' set in cfg files, will first check if qemu supports
bootindex. If it does, we will use bootindex which start from 0 and
will increase 1 for each image. You can also set the bootindex in cfg
files. If it doesn't, we will setup the first image to 'boot=on', other
images will set to 'boot=off' which is the limit of boot option in qemu.

Also remove the duplicate boot setup line in add_drive()

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Merge pull request #363 from liyangfnst/cpu_baseline

Add test for virsh cpu-baseline
virttest.qemu_vm: Add check for KVM internal error

Verify KVM internal error occurance during VM.verify_alive().

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
virttest.qemu_vm: Speed-up the verify_userspace_crash()

Make verify_userspace_crash() a bit faster for normal execution (a bit
slower on failure, but the test is already failing so it's not an issue).

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>