kvmtest: Import kvmtest code from older tree

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
KVM: ARM: Selftest: Move printf from cp15-guest.c

Take the printf implementation in cp15 guest and make it available
to all guests that might want to use it.
KVM: ARM: selftest: remove compile warnings

Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
Add hellow world test

Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
KVM: ARM: selftest: Add vmexit profiling test

Requries performance monitors to be enabled and accessible by the guest
directly in hardware to make sense - must hack host kernel!

Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
Fixup vmexit testing

Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
Steal kernel lib functions for divisions

Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
WIP: These settings are useful for some more profiling

This really needs to be cleaned up and stuff, but the whole
testing here has bit-rotted and should be picked up by someone.

I know....

Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>