1. 17 Jan, 2012 1 commit
  2. 06 Jan, 2012 1 commit
  3. 21 Dec, 2011 4 commits
  4. 08 Dec, 2011 3 commits
  5. 22 Nov, 2011 1 commit
  6. 20 Oct, 2011 1 commit
  7. 18 Oct, 2011 3 commits
  8. 29 Sep, 2011 2 commits
    • Andrea Spadaccini's avatar
      Add memory transfer progress info to migration · 61643226
      Andrea Spadaccini authored
      
      
      * hypervisor/hv_kvm.py
        - parse the memory transfer status
      
      * cmdlib.py
        - represent memory transfer info, if available
      Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      61643226
    • Andrea Spadaccini's avatar
      Make migration RPC non-blocking · 6a1434d7
      Andrea Spadaccini authored
      
      
      To add status reporting for the KVM migration, the instance_migrate RPC
      must be non-blocking. Moreover, there must be a way to represent the
      migration status and a way to fetch it.
      
      * constants.py:
        - add constants representing the migration statuses
      
      * objects.py:
        - add the MigrationStatus object
      
      * hypervisor/hv_base.py
        - change the FinalizeMigration method name to FinalizeMigrationDst
        - add the FinalizeMigrationSource method
        - add the GetMigrationStatus method
      
      * hypervisor/hv_kvm.py
        - change the implementation of MigrateInstance to be non-blocking
          (i.e. do not poll the status of the migration)
        - implement the new methods defined in BaseHypervisor
      
      * backend.py, server/noded.py, rpc.py
        - add methods to call the new hypervisor methods
        - fix documentation of the existing methods to reflect the changes
      
      * cmdlib.py
        - adapt the logic of TLMigrateInstance._ExecMigration to reflect
          the changes
      Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      6a1434d7
  9. 28 Sep, 2011 1 commit
  10. 23 Sep, 2011 1 commit
    • Andrea Spadaccini's avatar
      Fix interaction between CPU pinning and KVM migration · 1d8a7812
      Andrea Spadaccini authored
      
      
      CPU pinning requires the KVM hypervisor to start in the paused state, in
      order to retrieve information, and immediately unpauses it.
      
      This does not play well with live migration, as the unpausing was done
      before the migration started and so the receiving kvm process left the
      migrated instance in the stopped status.
      
      This patch fixes this behavior, by not launching the KVM process in
      stopped state while on the receiving side of a migration.
      
      Also, the stopping is now done outside _ExecuteCpuAffinity.
      Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
      Reviewed-by: default avatarTsachy Shacham <tsachy@google.com>
      1d8a7812
  11. 20 Sep, 2011 4 commits
  12. 16 Sep, 2011 1 commit
  13. 15 Sep, 2011 2 commits
  14. 13 Sep, 2011 2 commits
  15. 07 Sep, 2011 2 commits
  16. 03 Sep, 2011 2 commits
  17. 25 Aug, 2011 2 commits
  18. 15 Aug, 2011 2 commits
  19. 12 Aug, 2011 1 commit
  20. 09 Aug, 2011 2 commits
  21. 08 Aug, 2011 1 commit
  22. 29 Jul, 2011 1 commit