From: Glauber Costa Date: Mon, 24 Nov 2008 17:45:23 +0000 (-0200) Subject: x86: KVM guest: sign kvmclock as paravirt X-Git-Tag: v2.6.29-rc1~539^2~62 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=423cd25a5ade17b8a5cc85e6f0a0f37028d2c4a2;p=~shefty%2Frdma-dev.git 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: Glauber Costa Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kernel/kvmclock.c b/arch/x86/kernel/kvmclock.c index e169ae9b6a6..b38e801014e 100644 --- a/arch/x86/kernel/kvmclock.c +++ b/arch/x86/kernel/kvmclock.c @@ -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"; } }