Patchwork [RFC,RDMA,support,v1:,08/13] default chunk registration to true

login
register
mail settings
Submitter mrhines@linux.vnet.ibm.com
Date April 10, 2013, 10:28 p.m.
Message ID <1365632901-15470-9-git-send-email-mrhines@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/235503/
State New
Headers show

Comments

mrhines@linux.vnet.ibm.com - April 10, 2013, 10:28 p.m.
From: "Michael R. Hines" <mrhines@us.ibm.com>

Just enable it by default. User can now disable if they want to.

Signed-off-by: Michael R. Hines <mrhines@us.ibm.com>
---
 migration.c |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/migration.c b/migration.c
index 404c19a..41cf5ba 100644
--- a/migration.c
+++ b/migration.c
@@ -69,6 +69,7 @@  MigrationState *migrate_get_current(void)
         .state = MIG_STATE_SETUP,
         .bandwidth_limit = MAX_THROTTLE,
         .xbzrle_cache_size = DEFAULT_MIGRATE_CACHE_SIZE,
+        .enabled_capabilities[MIGRATION_CAPABILITY_CHUNK_REGISTER_DESTINATION] = true,
     };
 
     return &current_migration;