From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wed 13/02/2008 14:52
To: Uri Lublin
Cc: kvm-devel@lists.sourceforge.net
Subject: RE: [kvm-devel] Clock off in guest
 
>> This would not work if you are using an old version of kvm ( with no
>> in-kernel-apic )
>> I recommend upgrading to kvm-60 (or latest linux kernel).
>
>Should I upgrade the guest kernel or the host kernel? My bet is the host
>kernel, but the clocksource=tsc applies to the guest, so I'm not really
>sure...

The host kernel or kvm.
If you choose to upgrade your host kernel (and kvm that comes with it), make 
sure 
you are using recent kvm-userspace too (e.g. kvm-60).

>> Or as an alternative, probably not as good, sometimes (when the guest's
>> clocksource is PIT) adding '-tdf' to the command line helps.
>
>I cannot find this in man kvm or man qemu.

I'm not sure about the man pages, but kvm/qemu's help says:
bash$ /usr/bin/kvm -h | grep tdf
-tdf            inject timer interrupts that got lost

>Should I add this to the command line that starts the guest?

Yes, try adding it to the command line that starts the guest (executable name 
may vary):
   /usr/bin/kvm [kvm-params] -tdf

Also tdf (time drift fix) only works when using PIT+PIC (no APIC) so sometimes 
it's helpful
to also add -no-acpi:
   /usr/bin/kvm [kvm-params] -tdf -no-acpi


>
>Best,
>Koen


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to