1. 10 2月, 2016 4 次提交
    • J
      libxl: keepalive messages support · 5194eb95
      Joao Martins 提交于
      This patch introduces keep alive messages support for P2P migration
      and it adds two new configuration entries namely 'keepalive_interval'
      'keepalive_count' to control it. Behavior of these entries is the
      same as qemu driver thus the description is copied from there
      with just a few simplifications.
      Signed-off-by: NJoao Martins <joao.m.martins@oracle.com>
      5194eb95
    • J
      libxl: add p2p migration · a79da245
      Joao Martins 提交于
      Introduce support for VIR_MIGRATE_PEER2PEER in libvirt migration.
      Most of the changes occur at the source and no modifications at
      the receiver.
      
      In P2P mode there is only the Perform phase so we must handle the
      connection with the destination and actually perform the
      migration. libxlDomainPerformP2P implements the connection to the
      destination and libxlDoMigrateP2P implements the actual migration
      logic with virConnectPtr. In this function we take care of doing
      all phases of migration in the destination similar to
      virDomainMigrateVersion3Full. We appropriately save the last
      error reported in each of the phases to provide proper reporting.
      We don't yet support VIR_MIGRATE_TUNNELED and we always use V3
      with extensible params, thus it also makes the implementation
      simpler.
      
      It is worth noting that the receiver didn't have any changes, and
      since it's still the v3 sequence thus it is possible to migrate
      from a P2P to non-P2P host.
      Signed-off-by: NJoao Martins <joao.m.martins@oracle.com>
      a79da245
    • M
      virStringListLength: Ensure const correctness · d1a71023
      Michal Privoznik 提交于
      The virStringListLength function does not ever modify the passed
      string list. It merely counts the items in it. Make sure that we
      reflect this bit in the function header.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      
      (crobinso: fix up spacing and squash in sheepdog bit suggested
       by Andrea)
      d1a71023
    • M
      virDomainFormatSchedDef: Initialize @priority · 73b70b40
      Michal Privoznik 提交于
      Older gcc fails to see that the variable is set iff @hasPriority
      == true in which case the former is set a value. Initialize the
      value while declaring it to make the compiler shut up.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      73b70b40
  2. 09 2月, 2016 21 次提交
  3. 08 2月, 2016 15 次提交