1. 16 12月, 2014 2 次提交
  2. 23 8月, 2013 1 次提交
  3. 11 3月, 2013 3 次提交
  4. 21 12月, 2012 3 次提交
  5. 19 12月, 2012 5 次提交
  6. 03 11月, 2012 4 次提交
  7. 23 10月, 2012 2 次提交
    • P
      migration (incoming): add error propagation to fd and exec protocols · 43eaae28
      Paolo Bonzini 提交于
      And remove the superfluous integer return value.
      Reviewed-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      43eaae28
    • P
      migration (outgoing): add error propagation for all protocols · f37afb5a
      Paolo Bonzini 提交于
      Error propagation is already there for socket backends.  Add it to other
      protocols, simplifying code that tests for errors that will never happen.
      With all protocols understanding Error, the code can be simplified
      further by removing the return value.
      
      Unfortunately, the quality of error messages varies depending
      on where the error is detected, because no Error is passed to the
      NonBlockingConnectHandler.  Thus, the exact error message still cannot
      be sent to the user if the OS reports it asynchronously via SO_ERROR.
      If NonBlockingConnectHandler received an Error**, we could for
      example report the error class and/or message via a new field of the
      query-migration command even if it is reported asynchronously.
      
      Before:
      
          (qemu) migrate fd:ffff
          migrate: An undefined error has occurred
          (qemu) info migrate
          (qemu)
      
      After:
      
          (qemu) migrate fd:ffff
          migrate: File descriptor named 'ffff' has not been found
          (qemu) info migrate
          capabilities: xbzrle: off
          Migration status: failed
          total time: 0 milliseconds
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      f37afb5a
  8. 26 9月, 2012 1 次提交
  9. 15 3月, 2012 1 次提交
    • L
      qapi: Convert migrate · e1c37d0e
      Luiz Capitulino 提交于
      The migrate command is one of those commands where HMP and QMP completely
      mix up together. This made the conversion to the QAPI (which separates the
      command into QMP and HMP parts) a bit difficult.
      
      The first important change to be noticed is that this commit completes the
      removal of the Monitor object from migration code, started by the previous
      commit.
      
      Another important and tricky change is about supporting the non-detached
      mode. That is, if the user doesn't pass '-d' the migrate command will lock
      the monitor and will only release it when migration is finished.
      
      To support this in the new HMP command (hmp_migrate()), it is necessary
      to create a timer which runs every second and checks if the migration is
      still active. If it is, the timer callback will re-schedule itself to run
      one second in the future. If the migration has already finished, the
      monitor lock is released and the user can use it normally.
      
      All these changes should be transparent to the user.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      e1c37d0e
  10. 14 1月, 2012 1 次提交
  11. 02 11月, 2011 1 次提交
    • G
      migration: flush migration data to disk. · aab22936
      Gerd Hoffmann 提交于
      This patch increases robustness when migrating to a file with
      two little changes:
      
       (1) Before closing the migration file handle checks if it happens to be
           a regular file and if so it issues a fsync.  This way the data is
           flushed to disk before qemu sends the migration completed event.
       (2) It adds error checking.  In case either fsync or close syscall
           fails pass up the error (and fail migration).
      
      [ v2: return -errno instead of -1 ]
      
      Cc: Juan Quintela <quintela@redhat.com>
      Cc: Jiri Denemark <jdenemar@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      aab22936
  12. 20 10月, 2011 5 次提交
  13. 21 8月, 2011 1 次提交
  14. 16 4月, 2011 1 次提交
  15. 23 6月, 2010 1 次提交
  16. 20 3月, 2010 1 次提交
  17. 18 3月, 2010 1 次提交
  18. 07 2月, 2010 1 次提交
  19. 04 12月, 2009 1 次提交
  20. 17 11月, 2009 1 次提交
    • L
      Block live migration · c163b5ca
      lirans@il.ibm.com 提交于
      This patch introduces block migration called during live migration. Block
      are being copied to the destination in an async way. First the code will
      transfer the whole disk and then transfer all dirty blocks accumulted during
      the migration.
      Still need to improve transition from the iterative phase of migration to the
      end phase. For now transition will take place when all blocks transfered once,
      all the dirty blocks will be transfered during the end phase (guest is
      suspended).
      
      Changes from v4:
      - Global variabels moved to a global state structure allocated dynamically.
      - Minor coding style issues.
      - Poll block.c for tracking of dirty blocks instead of manage it here.
      Signed-off-by: NLiran Schour <lirans@il.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      c163b5ca
  21. 28 8月, 2009 1 次提交
  22. 24 8月, 2009 2 次提交