virt: Make an example for set up params based on the kernel version

This is an example for set up params based on kernel version defined
in a cfg file named host-kernel.cfg. The main function for package
check(package_check) is in the control.kernel-version. Take
this as an example as kernel is a very important part in kvm test
and will decide a set of common parameters using in the cases. You
can also setup yourself host-package.cfg for different type of tests
in the same way.

changes from v1:
  - fix the typo for host_kernel_version_str
  - add one parameter for whether print out the debug messages
changes from v2:
  - typo fix

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest.standalone_test:avoid to division by zero

When run the command ./run -t qemu as default,
all the case may skip. and this will raise an error:
TESTS: 13
(1/13) migrate.default.tcp: SKIP
(2/13) migrate.default.unix: SKIP
(3/13) migrate.default.exec: SKIP
(4/13) migrate.default.fd: SKIP
(5/13) migrate.default.mig_cancel: SKIP
(6/13) migrate.with_set_speed.tcp: SKIP
(7/13) migrate.with_set_speed.unix: SKIP
(8/13) migrate.with_set_speed.exec: SKIP
(9/13) migrate.with_set_speed.fd: SKIP
(10/13) migrate.with_reboot.tcp: SKIP
(11/13) migrate.with_reboot.unix: SKIP
(12/13) migrate.with_reboot.exec: SKIP
(13/13) migrate.with_reboot.fd: SKIP
TOTAL TIME: 9.58 s
Internal error, traceback follows...
Traceback (most recent call last):
  File "/home/Mike/autotest/client/tests/virt/virttest/standalone_test.py", line 872, in run_tests
    _job_report(job_elapsed_time, n_tests, n_tests_skipped, n_tests_failed)
  File "/home/Mike/autotest/client/tests/virt/virttest/standalone_test.py", line 659, in _job_report
    float(n_tests - n_tests_skipped)) * 100)
ZeroDivisionError: float division by zero

So just check if n_tests equals to n_tests_skipped to avoid
this error

Signed-off-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
guest kernel install: changing control name

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Update libvirtd status checkpoint

Update search key word from "pid" to "running" to avoid check fail
if host running systemd.

Signed-off-by: Yanbing Du <ydu@redhat.com>
tests.cfg.dd_test: Fix the image bootindex bug

When image_boot is set, autotest assigns index = 1
which leads to duplicated indexes.

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