public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Sync TSC for guest when vcpu has been migrated to another cpu
@ 2007-03-02 16:41 Leonard Norrgard
       [not found] ` <45E853A0.3080207-g2GXA8XeJSExHbG02/KK1g@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Leonard Norrgard @ 2007-03-02 16:41 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

When a vcpu is migrated to another cpu, an unexpected difference in
current and previous cpu TSC values can cause a guest to wait
indefinitely. A known workaround has been to run kvm with taskset,
locking it to a single cpu. This patch series modifies the guest TSC
offset as needed to guarantee that the guest sees a monotonically
increasing TSC, adds a statistic for vcpu_migrated and updates kvm_stat
so the first column isn't truncated.

[1/3] Sync guest viewable TSC when vcpu migrated
[2/3] Add a vcpu_migrated statistic
[3/3] Widen key column in kvm_stat

-- Leonard

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

end of thread, other threads:[~2007-03-03  8:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-02 16:41 [PATCH 0/3] Sync TSC for guest when vcpu has been migrated to another cpu Leonard Norrgard
     [not found] ` <45E853A0.3080207-g2GXA8XeJSExHbG02/KK1g@public.gmane.org>
2007-03-02 16:48   ` [PATCH 1/3] Sync guest viewable TSC when vcpu migrated Leonard Norrgard
     [not found]     ` <45E85566.3010706-g2GXA8XeJSExHbG02/KK1g@public.gmane.org>
2007-03-02 16:55       ` Anthony Liguori
     [not found]         ` <45E85717.6030906-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2007-03-02 17:13           ` Leonard Norrgard
2007-03-03  8:47       ` Avi Kivity
2007-03-02 16:53   ` [PATCH 2/3] Add a vcpu_migrated statistic Leonard Norrgard
     [not found]     ` <45E8567C.6080704-g2GXA8XeJSExHbG02/KK1g@public.gmane.org>
2007-03-03  8:58       ` Avi Kivity
2007-03-02 16:55   ` [PATCH 3/3] Widen key column in kvm_stat Leonard Norrgard

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