| Submitter | Juan Quintela |
|---|---|
| Date | Feb. 22, 2013, 10:16 a.m. |
| Message ID | <1361528201-15422-2-git-send-email-quintela@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/222501/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/migration.c b/migration.c index b1ebb01..b3f5ba4 100644 --- a/migration.c +++ b/migration.c @@ -774,6 +774,8 @@ void migrate_fd_connect(MigrationState *s) s->buffer = NULL; s->buffer_size = 0; s->buffer_capacity = 0; + /* This is a best 1st approximation. ns to ms */ + s->expected_downtime = max_downtime/1000000; s->xfer_limit = s->bandwidth_limit / XFER_LIMIT_RATIO; s->complete = false;