diff options
author | Peter Xu <peterx@redhat.com> | 2018-05-02 18:47:40 +0800 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2018-05-15 22:13:08 +0200 |
commit | d37297dc66202c33f9cafbc48ccae629e7d6dc31 (patch) | |
tree | a9637a712fcf225007f6b488f0fc3329349e3f77 /hmp.c | |
parent | bfbf89c2b524670edbf71e12fc5bc1b34d925211 (diff) | |
download | qemu-d37297dc66202c33f9cafbc48ccae629e7d6dc31.zip qemu-d37297dc66202c33f9cafbc48ccae629e7d6dc31.tar.gz qemu-d37297dc66202c33f9cafbc48ccae629e7d6dc31.tar.bz2 |
migration/hmp: add migrate_pause command
Wrapper for QMP command "migrate-pause".
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180502104740.12123-25-peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1527,6 +1527,15 @@ void hmp_migrate_recover(Monitor *mon, const QDict *qdict) hmp_handle_error(mon, &err); } +void hmp_migrate_pause(Monitor *mon, const QDict *qdict) +{ + Error *err = NULL; + + qmp_migrate_pause(&err); + + hmp_handle_error(mon, &err); +} + /* Kept for backwards compatibility */ void hmp_migrate_set_downtime(Monitor *mon, const QDict *qdict) { |