kernelinstall: Make kernelinstall test script works for rhel guest.

RHEL guest is different from fedora guest.
This patch make kernelinstall works for rhel guest.

This patch also correct import link.

Signed-off-by: Feng Yang <fyang@redhat.com>
cgroup.cgroup: Merge autotest and virttest cgroup_utils library

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
cgroup.cgroup: Change setup to initialize

Setup is called only once to unzip/compile projects. Cgroups needs
to be initialized each time it's executed so it shoule use
initialize() instead.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
Add check_patch.py and related libraries to autotest-client-tests

This should help reviewing new patches. The code is based on virt-test
check_patch and the links to github were changed.

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

Signed-off-by: Yiqiao Pu <ypu@redhat.com>