public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* TSC host kernel message with kvm.git as host kernel and qemu-kvm.git as userspace
@ 2010-10-21 19:49 Lucas Meneghel Rodrigues
  2010-10-21 20:56 ` Zachary Amsden
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Meneghel Rodrigues @ 2010-10-21 19:49 UTC (permalink / raw)
  To: KVM mailing list; +Cc: zamsden

Hi folks, 

I was doing some work at one of our host machines, the one that runs
upstream (Fedora 14, kvm.git as the kernel and qemu-kvm.git as
userspace), and I noticed the kernel message:

kvm: unreliable cycle conversion on adjustable rate TSC
kvm: SMP vm created on host with unstable TSC: guest TSC will not be
reliable

The host being tested in this case was RHEL 5.5 i386. Command line of
the install test:

/usr/local/autotest/tests/kvm/qemu -name 'vm1' -monitor unix:'/tmp/monitor-humanmonitor1-20101021-160403-PrKT',server,nowait -qmp unix:'/tmp/monitor-qmpmonitor1-20101021-160403-PrKT',server,nowait -serial unix:'/tmp/serial-20101021-160403-PrKT',server,nowait -drive file='/tmp/kvm_autotest_root/images/rhel5-32.qcow2',index=0,if=ide,cache=none -device rtl8139,mac=9a:47:46:1a:e6:b9,netdev=idAcPzhW -netdev user,id=idAcPzhW,tftp='/usr/local/autotest/tests/kvm/images/rhel55-32/tftpboot',bootfile='/pxelinux.0',hostfwd=tcp::5000-:22,hostfwd=tcp::5001-:12323 -m 1024 -smp 2 -drive file='/tmp/kvm_autotest_root/isos/linux/RHEL-5.5-i386-DVD.iso',media=cdrom,index=2 -drive file='/tmp/kvm_autotest_root/images/rhel55-32/ks.iso',media=cdrom,index=1 -vnc :0  -boot d -boot cn

I was oriented by Marcelo to report this to the kvm list and copy Zach
on the e-mail. There, done :)

Lucas


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TSC host kernel message with kvm.git as host kernel and qemu-kvm.git as userspace
  2010-10-21 19:49 TSC host kernel message with kvm.git as host kernel and qemu-kvm.git as userspace Lucas Meneghel Rodrigues
@ 2010-10-21 20:56 ` Zachary Amsden
  0 siblings, 0 replies; 2+ messages in thread
From: Zachary Amsden @ 2010-10-21 20:56 UTC (permalink / raw)
  To: Lucas Meneghel Rodrigues; +Cc: KVM mailing list

On 10/21/2010 09:49 AM, Lucas Meneghel Rodrigues wrote:
> Hi folks,
>
> I was doing some work at one of our host machines, the one that runs
> upstream (Fedora 14, kvm.git as the kernel and qemu-kvm.git as
> userspace), and I noticed the kernel message:
>
> kvm: unreliable cycle conversion on adjustable rate TSC
> kvm: SMP vm created on host with unstable TSC: guest TSC will not be
> reliable
>    

Yes, the message is a warning; without TSC trapping, SMP VMs will have 
unreliable TSC.  In this case, you are advised to use kvmclock or 
another non-TSC clocksource in the guest.

Zach

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-21 20:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-21 19:49 TSC host kernel message with kvm.git as host kernel and qemu-kvm.git as userspace Lucas Meneghel Rodrigues
2010-10-21 20:56 ` Zachary Amsden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox