KVM Test: Add KVM unit test (kvmctl)

The test use kvm test harness kvmctl load binary test case file
to test various functions of the kvm kernel module.

This test is for unit testing on older KVM branches, after some
consideration we decided to keep the modules for upstream and
branches that use kvmctl separated.

Changes from v1:

 * Fixed some bugs
 * Renamed the test file
 * Made code shorter

Signed-off-by: Shuxi Shang <sshang@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4429 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed