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

Commit 423cd25a authored by Glauber Costa's avatar Glauber Costa Committed by Avi Kivity
Browse files

x86: KVM guest: sign kvmclock as paravirt



Currently, we only set the KVM paravirt signature in case
of CONFIG_KVM_GUEST. However, it is possible to have it turned
off, while CONFIG_KVM_CLOCK is turned on. This is also a paravirt
case, and should be shown accordingly.

Signed-off-by: default avatarGlauber Costa <glommer@redhat.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent df203ec9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -194,5 +194,7 @@ void __init kvmclock_init(void)
#endif
		kvm_get_preset_lpj();
		clocksource_register(&kvm_clock);
		pv_info.paravirt_enabled = 1;
		pv_info.name = "KVM";
	}
}