73a74,80
> # Check if KVM support has been enabled, we might need to do VM
> # configuration if that's the case.
> have_kvm_support = 'BaseKvmCPU' in globals()
> def is_kvm_cpu(cpu_class):
> return have_kvm_support and cpu_class != None and \
> issubclass(cpu_class, BaseKvmCPU)
>
118a126,128
> if is_kvm_cpu(TestCPUClass) or is_kvm_cpu(FutureClass):
> test_sys.vm = KvmVM()
>
165a176,178
> if is_kvm_cpu(DriveCPUClass):
> drive_sys.vm = KvmVM()
>