Skip to content
Snippets Groups Projects
  1. Nov 30, 2023
  2. Oct 31, 2023
  3. Oct 20, 2023
  4. Oct 17, 2023
  5. Jul 26, 2023
  6. Jul 25, 2023
  7. Jun 05, 2023
  8. May 18, 2023
  9. May 10, 2023
  10. May 03, 2023
  11. Apr 27, 2023
  12. Apr 24, 2023
  13. Mar 16, 2023
  14. Feb 13, 2023
  15. Feb 11, 2023
    • Peter Xu's avatar
      migration: Rework multi-channel checks on URI · d6f74fd1
      Peter Xu authored
      
      The whole idea of multi-channel checks was not properly done, IMHO.
      
      Currently we check multi-channel in a lot of places, but actually that's
      not needed because we only need to check it right after we get the URI and
      that should be it.
      
      If the URI check succeeded, we should never need to check it again because
      we must have it.  If it check fails, we should fail immediately on either
      the qmp_migrate or qmp_migrate_incoming, instead of failingg it later after
      the connection established.
      
      Neither should we fail any set capabiliities like what we used to do here:
      
      5ad15e86 ("migration: allow enabling mutilfd for specific protocol only", 2021-10-19)
      
      Because logically the URI will only be set later after the capability is
      set, so it doesn't make a lot of sense to check the URI type when setting
      the capability, because we're checking the cap with an old URI passed in,
      and that may not even be the URI we're going to use later.
      
      This patch mostly reverted all such checks for before, dropping the
      variable migrate_allow_multi_channels and helpers.  Instead, add a common
      helper to check URI for multi-channels for either qmp_migrate and
      qmp_migrate_incoming and that should do all the proper checks.  The failure
      will only trigger with the "migrate" or "migrate_incoming" command, or when
      user specified "-incoming xxx" where "xxx" is not "defer".
      
      Signed-off-by: default avatarPeter Xu <peterx@redhat.com>
      Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
      Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
      d6f74fd1
    • Li Zhang's avatar
      multifd: Remove some redundant code · bca762c2
      Li Zhang authored
      
      Clean up some unnecessary code
      
      Signed-off-by: default avatarLi Zhang <lizhang@suse.de>
      Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
      bca762c2
    • Li Zhang's avatar
      multifd: cleanup the function multifd_channel_connect · e3f37b2c
      Li Zhang authored
      
      Cleanup multifd_channel_connect
      
      Signed-off-by: default avatarLi Zhang <lizhang@suse.de>
      Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
      Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
      e3f37b2c
  16. Feb 06, 2023
  17. Dec 15, 2022
Loading