mirror of
https://github.com/adulau/aha.git
synced 2025-01-03 14:43:17 +00:00
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>
This commit is contained in:
parent
df203ec9a7
commit
423cd25a5a
1 changed files with 2 additions and 0 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue