* [PATCH] sign kvmclock as paravirt
@ 2008-11-24 17:45 Glauber Costa
2008-11-25 14:32 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Glauber Costa @ 2008-11-24 17:45 UTC (permalink / raw)
To: linux-kernel; +Cc: kvm, avi, mtosatti
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>
---
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 1c9cc43..4a1ee5a 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";
}
}
--
1.5.6.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sign kvmclock as paravirt
2008-11-24 17:45 [PATCH] sign kvmclock as paravirt Glauber Costa
@ 2008-11-25 14:32 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2008-11-25 14:32 UTC (permalink / raw)
To: Glauber Costa; +Cc: linux-kernel, kvm, mtosatti
Glauber Costa wrote:
> 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.
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-25 14:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24 17:45 [PATCH] sign kvmclock as paravirt Glauber Costa
2008-11-25 14:32 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).