diff options
author | Glauber Costa <glommer@redhat.com> | 2008-11-24 15:45:23 -0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-12-31 16:55:00 +0200 |
commit | 423cd25a5ade17b8a5cc85e6f0a0f37028d2c4a2 (patch) | |
tree | 3f10aeef615ef08fd5d6c26736e0b2a407b0c75d /arch | |
parent | df203ec9a77a7236cb90456664d714423b98a977 (diff) | |
download | kernel_samsung_smdk4412-423cd25a5ade17b8a5cc85e6f0a0f37028d2c4a2.zip kernel_samsung_smdk4412-423cd25a5ade17b8a5cc85e6f0a0f37028d2c4a2.tar.gz kernel_samsung_smdk4412-423cd25a5ade17b8a5cc85e6f0a0f37028d2c4a2.tar.bz2 |
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 <glommer@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/kvmclock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/kvmclock.c b/arch/x86/kernel/kvmclock.c index e169ae9..b38e801 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"; } } |