diff mbox series

[4/8] migration: Enable precopy initial data capability

Message ID 20230501140141.11743-5-avihaih@nvidia.com (mailing list archive)
State New, archived
Headers show
Series migration: Add precopy initial data capability and VFIO precopy support | expand

Commit Message

Avihai Horon May 1, 2023, 2:01 p.m. UTC
Now that precopy initial data logic has been implemented, enable the
capability.

Signed-off-by: Avihai Horon <avihaih@nvidia.com>
---
 migration/options.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Juan Quintela May 10, 2023, 8:55 a.m. UTC | #1
Avihai Horon <avihaih@nvidia.com> wrote:
> Now that precopy initial data logic has been implemented, enable the
> capability.
>
> Signed-off-by: Avihai Horon <avihaih@nvidia.com>

Reviewed-by: Juan Quintela <quintela@redhat.com>

For when the time comes O:-)
diff mbox series

Patch

diff --git a/migration/options.c b/migration/options.c
index c4ef0c60c7..77a570f866 100644
--- a/migration/options.c
+++ b/migration/options.c
@@ -560,10 +560,6 @@  bool migrate_caps_check(bool *old_caps, bool *new_caps, Error **errp)
             error_setg(errp, "Precopy initial data requires return path");
             return false;
         }
-
-        /* Disable this capability until it's implemented */
-        error_setg(errp, "Precopy initial data is not implemented yet");
-        return false;
     }
 
     return true;