projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c865d84
)
migration: allow qmp command migrate-start-postcopy for any postcopy
author
Vladimir Sementsov-Ogievskiy
<vsementsov@virtuozzo.com>
Tue, 13 Mar 2018 19:34:01 +0000
(15:34 -0400)
committer
John Snow
<jsnow@redhat.com>
Tue, 13 Mar 2018 21:06:03 +0000
(17:06 -0400)
Allow migrate-start-postcopy for any postcopy type
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-id:
20180313180320
.339796-11-vsementsov@virtuozzo.com
migration/migration.c
patch
|
blob
|
history
diff --git
a/migration/migration.c
b/migration/migration.c
index 094196c2361778f2071b7701156c0565f6143c14..59b4fe6090c9db471f349b6d7a2bb9e465ed79dc 100644
(file)
--- a/
migration/migration.c
+++ b/
migration/migration.c
@@
-1022,7
+1022,7
@@
void qmp_migrate_start_postcopy(Error **errp)
{
MigrationState *s = migrate_get_current();
- if (!migrate_postcopy
_ram
()) {
+ if (!migrate_postcopy()) {
error_setg(errp, "Enable postcopy with migrate_set_capability before"
" the start of migration");
return;