1. 14 10月, 2008 2 次提交
  2. 13 10月, 2008 3 次提交
  3. 12 10月, 2008 1 次提交
  4. 09 10月, 2008 1 次提交
    • A
      Fix IO performance regression in sparc · 9e472e10
      aliguori 提交于
      Replace signalfd with signal handler/pipe.  There is no way to interrupt
      the CPU execution loop when a file descriptor becomes readable.  This
      results in a large performance regression in sparc emulation during
      bootup.
         
      This patch switches us to signal handler/pipe which was originally
      suggested by Ian Jackson.  The signal handler lets us interrupt the
      CPU emulation loop while the write to a pipe lets us avoid the
      select/signal race condition.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5451 c046a42c-6fe2-441c-8c8c-71466251a162
      9e472e10
  5. 08 10月, 2008 1 次提交
  6. 07 10月, 2008 1 次提交
    • A
      Switch the memory savevm handler to be "live" · 475e4277
      aliguori 提交于
      This patch replaces the static memory savevm/loadvm handler with a "live" one.
      This handler is used even if performing a non-live migration.
      
      The key difference between this handler and the previous is that each page is
      prefixed with the address of the page.  The QEMUFile rate limiting code, in
      combination with the live migration dirty tracking bits, is used to determine
      which pages should be sent and how many should be sent.
      
      The live save code "converges" when the number of dirty pages reaches a fixed
      amount.  Currently, this is 10 pages.  This is something that should eventually
      be derived from whatever the bandwidth limitation is.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5437 c046a42c-6fe2-441c-8c8c-71466251a162
      475e4277
  7. 06 10月, 2008 1 次提交
    • A
      Introduce v3 of savevm protocol · 9366f418
      aliguori 提交于
      The current savevm/loadvm protocol has some draw backs.  It does not support
      the ability to do progressive saving which means it cannot be used for live
      checkpointing or migration.  The sections sizes are 32-bit integers which
      means that it will not function when using more than 4GB of memory for a guest.
      It attempts to seek within the output file which means it cannot be streamed.
      The current protocol also is pretty lax about how it supports forward
      compatibility.  If a saved section version is greater than what the restore
      code support, the restore code generally treats the saved data as being in
      whatever version it supports.  This means that restoring a saved VM on an older
      version of QEMU will likely result in silent guest failure.
      
      This patch introduces a new version of the savevm protocol.  It has the
      following features:
      
       * Support for progressive save of sections (for live checkpoint/migration)
       * An asynchronous API for doing save
       * Support for interleaving multiple progressive save sections
         (for future support of memory hot-add/storage migration)
       * Fully streaming format
       * Strong section version checking
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5434 c046a42c-6fe2-441c-8c8c-71466251a162
      9366f418
  8. 05 10月, 2008 1 次提交
  9. 04 10月, 2008 2 次提交
  10. 03 10月, 2008 1 次提交
  11. 02 10月, 2008 3 次提交
  12. 01 10月, 2008 3 次提交
  13. 30 9月, 2008 1 次提交
  14. 29 9月, 2008 2 次提交
  15. 28 9月, 2008 2 次提交
  16. 26 9月, 2008 1 次提交
  17. 23 9月, 2008 1 次提交
  18. 20 9月, 2008 1 次提交
  19. 19 9月, 2008 1 次提交
  20. 15 9月, 2008 1 次提交
    • A
      Use common objects for qemu-img and qemu-nbd · 03ff3ca3
      aliguori 提交于
      Right now, we sprinkle #if defined(QEMU_IMG) && defined(QEMU_NBD) all over the
      code.  It's ugly and causes us to have to build multiple object files for
      linking against qemu and the tools.
      
      This patch introduces a new file, qemu-tool.c which contains enough for
      qemu-img, qemu-nbd, and QEMU to all share the same objects.
      
      This also required getting qemu-nbd to be a bit more Windows friendly.  I also
      changed the Windows block-raw to use normal IO instead of overlapping IO since
      we don't actually do AIO yet on Windows.  I changed the various #if 0's to
       #if WIN32_AIO to make it easier for someone to eventually fix AIO on Windows.
      
      After this patch, there are no longer any #ifdef's related to qemu-img and
      qemu-nbd.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5226 c046a42c-6fe2-441c-8c8c-71466251a162
      03ff3ca3
  21. 14 9月, 2008 3 次提交
  22. 10 9月, 2008 2 次提交
  23. 03 9月, 2008 1 次提交
  24. 29 8月, 2008 1 次提交
  25. 24 8月, 2008 1 次提交
  26. 22 8月, 2008 2 次提交