qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/4] Fix -icount with iothread
@ 2011-04-13  8:03 Paolo Bonzini
  2011-04-13  8:03 ` [Qemu-devel] [PATCH v4 1/4] really fix -icount in the iothread case Paolo Bonzini
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Paolo Bonzini @ 2011-04-13  8:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: edgar.iglesias

This series finally fixes -icount with iothread and avoids deadlocks
due to the vm_clock not making progress when the VM is stopped.
The crux of the fix is in patch 1, while patch 2 implements the
"clock warping" that fixes deadlocks in v2.  Clock warping uses
the nanosecond resolution rt_clock timers introduced by my previous
series.

With this in place, patch 3 can revert the previous attempt(s).
Finally, patch 4 makes the icount code clearer by finishing the
bugfix/reorganization of qemu_next_deadline vs. qemu_next_alarm_deadline.

v1->v2:
        reordered patches, renamed qemu_next_deadline

v2->v3:
        introduced warp timer

v3->v4:
        added comments to the code

Paolo Bonzini (4):
  really fix -icount in the iothread case
  enable vm_clock to "warp" in the iothread+icount case
  Revert wrong fixes for -icount in the iothread case
  qemu_next_deadline should not consider host-time timers

 cpus.c        |   13 ++++-
 qemu-common.h |    1 +
 qemu-timer.c  |  169 ++++++++++++++++++++++++++++++++++++++++++++-------------
 qemu-timer.h  |    3 +-
 roms/seabios  |    2 +-
 5 files changed, 146 insertions(+), 42 deletions(-)

-- 
1.7.4

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

end of thread, other threads:[~2011-04-15 10:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-13  8:03 [Qemu-devel] [PATCH v4 0/4] Fix -icount with iothread Paolo Bonzini
2011-04-13  8:03 ` [Qemu-devel] [PATCH v4 1/4] really fix -icount in the iothread case Paolo Bonzini
2011-04-13  8:03 ` [Qemu-devel] [PATCH v4 2/4] enable vm_clock to "warp" in the iothread+icount case Paolo Bonzini
2011-04-13  8:03 ` [Qemu-devel] [PATCH v4 3/4] Revert wrong fixes for -icount in the iothread case Paolo Bonzini
2011-04-13  8:03 ` [Qemu-devel] [PATCH v4 4/4] qemu_next_deadline should not consider host-time timers Paolo Bonzini
2011-04-15  7:49 ` [Qemu-devel] [PATCH v4 0/4] Fix -icount with iothread Edgar E. Iglesias
2011-04-15 10:18   ` Paolo Bonzini

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).