autotest/virt-test — pull request #415 by suqinhuang (2013-05-16 07:36:15+00:00)
Title:     qemu.tests.check_unhalt_vcpu: Update cmd of checking cpu usage

Signed-off-by: Qingtang Zhou
Acked-by: Yiqiao Pu

Kvm-test: Move files to right place and small bug fix

Signed-off-by: Yiqiao Pu

KVM-Test: Increase sleep time in check_unhalt_vcpu

cpu usage is 100% at first in check_unhalt_vcpu testing,
but it decrease after several second,
10s is too short, increase the sleep time

Signed-off-by: Suqin Huang

KVM-test: fix of get qemu pid

After mgoldish's change, vm.get_pid() rightly returns qemu's pid. No need us
'pgrep -P $shell_pid'.

Signed-off-by: Amos Kong

KVM: Check unhalt vcpu of guest.

(1) Use qemu-img create any image which can not boot.
(2) Start vm with the image created by step 1
(3) Use ps get qemu-kvm process %cpu, if greater than 90%, report fial.

Signed-off-by: sshang