1. 22 10月, 2011 5 次提交
  2. 16 9月, 2011 2 次提交
  3. 02 9月, 2011 1 次提交
    • A
      main: force enabling of I/O thread · 12d4536f
      Anthony Liguori 提交于
      Enabling the I/O thread by default seems like an important part of declaring
      1.0.  Besides allowing true SMP support with KVM, the I/O thread means that the
      TCG VCPU doesn't have to multiplex itself with the I/O dispatch routines which
      currently requires a (racey) signal based alarm system.
      
      I know there have been concerns about performance.  I think so far the ones that
      have come up (virtio-net) are most likely due to secondary reasons like
      decreased batching.
      
      I think we ought to force enabling I/O thread early in 1.0 development and
      commit to resolving any lingering issues.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      12d4536f
  4. 21 8月, 2011 1 次提交
  5. 24 7月, 2011 3 次提交
  6. 06 6月, 2011 1 次提交
  7. 27 4月, 2011 3 次提交
  8. 15 4月, 2011 3 次提交
  9. 21 3月, 2011 4 次提交
    • P
      remove qemu_get_clock · 6d5ad9bf
      Paolo Bonzini 提交于
      These patches are already not doing a great service to out-of-tree
      modifications to QEMU.  However, at least we can warn them by getting
      rid of the old confusing functions, or otherwise causing compilation
      errors.  This patch removes qemu_get_clock; the previous one changed
      qemu_new_timer's signature.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      6d5ad9bf
    • P
      add a generic scaling mechanism for timers · 4a998740
      Paolo Bonzini 提交于
      This enables rt_clock timers to use nanosecond resolution, just by
      using the _ns functions; there is really no reason to forbid that.
      
      Migrated timers are all using vm_clock (of course; but I checked that
      anyway) so the timers in the savevm files are already in nanosecond
      resolution.  So this patch makes no change to the migration format.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      4a998740
    • P
      change all other clock references to use nanosecond resolution accessors · 74475455
      Paolo Bonzini 提交于
      This was done with:
      
          sed -i 's/qemu_get_clock\>/qemu_get_clock_ns/' \
              $(git grep -l 'qemu_get_clock\>' )
          sed -i 's/qemu_new_timer\>/qemu_new_timer_ns/' \
              $(git grep -l 'qemu_new_timer\>' )
      
      after checking that get_clock and new_timer never occur twice
      on the same line.  There were no missed occurrences; however, even
      if there had been, they would have been caught by the compiler.
      
      There was exactly one false positive in qemu_run_timers:
      
           -    current_time = qemu_get_clock (clock);
           +    current_time = qemu_get_clock_ns (clock);
      
      which is of course not in this patch.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      74475455
    • P
      change all rt_clock references to use millisecond resolution accessors · 7bd427d8
      Paolo Bonzini 提交于
      This was done with:
      
          sed -i '/get_clock\>.*rt_clock/s/get_clock\>/get_clock_ms/' \
              $(git grep -l 'get_clock\>.*rt_clock' )
          sed -i '/new_timer\>.*rt_clock/s/new_timer\>/new_timer_ms/' \
              $(git grep -l 'new_timer\>.*rt_clock' )
      
      after checking that get_clock and new_timer never occur twice
      on the same line.  There were no missed occurrences; however, even
      if there had been, they would have been caught by the compiler.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      7bd427d8
  10. 13 3月, 2011 2 次提交
  11. 23 2月, 2011 1 次提交
  12. 08 2月, 2011 1 次提交
  13. 04 2月, 2011 3 次提交
  14. 23 1月, 2011 1 次提交
  15. 23 10月, 2010 1 次提交
    • B
      qemu-timer: move commonly used timer code to qemu-timer-common · c57c846a
      Blue Swirl 提交于
      Move timer init functions to a new file, qemu-timer-common.c. Make other
      critical timer functions inlined to preserve performance in
      qemu-timer.c, also move muldiv64() (used by the inline functions)
      to qemu-timer.h.
      
      Adjust block/raw-posix.c and simpletrace.c to use get_clock() directly.
      Remove a similar/duplicate definition in qemu-tool.c.
      
      Adjust hw/omap_clk.c to include qemu-timer.h because muldiv64() is used
      there.
      
      After this change, tracing can be used also for user code and
      simpletrace on Win32.
      
      Cc: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      Acked-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      c57c846a
  16. 06 7月, 2010 1 次提交
  17. 30 3月, 2010 1 次提交
  18. 27 3月, 2010 2 次提交
  19. 18 3月, 2010 1 次提交