Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a63512a4 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM guest: Fix kvm clock initialization when it's configured out



Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 175504cd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -486,7 +486,9 @@ static struct notifier_block kvm_pv_reboot_nb = {
#ifdef CONFIG_SMP
static void __init kvm_smp_prepare_boot_cpu(void)
{
#ifdef CONFIG_KVM_CLOCK
	WARN_ON(kvm_register_clock("primary cpu clock"));
#endif
	kvm_guest_cpu_init();
	native_smp_prepare_boot_cpu();
}