diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2009-08-18 15:56:25 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 19:33:15 -0500 |
commit | 77cab1273078d59b0ee448a999f88fac2170d379 (patch) | |
tree | d1bcd758198eb80441a7cedaa5602fffa4d229a5 /migration.c | |
parent | a444fd0d01e2d72f992e718bbf6200875fd64ce9 (diff) | |
download | qemu-77cab1273078d59b0ee448a999f88fac2170d379.tar.gz qemu-77cab1273078d59b0ee448a999f88fac2170d379.tar.bz2 qemu-77cab1273078d59b0ee448a999f88fac2170d379.zip |
add file descriptor migration
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Cc: Chris Lalancette <clalance@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'migration.c')
-rw-r--r-- | migration.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/migration.c b/migration.c index 34e2bc14c0..c18d595842 100644 --- a/migration.c +++ b/migration.c @@ -45,6 +45,8 @@ void qemu_start_incoming_migration(const char *uri) exec_start_incoming_migration(p); else if (strstart(uri, "unix:", &p)) unix_start_incoming_migration(p); + else if (strstart(uri, "fd:", &p)) + fd_start_incoming_migration(p); #endif else fprintf(stderr, "unknown migration protocol: %s\n", uri); @@ -62,6 +64,8 @@ void do_migrate(Monitor *mon, int detach, const char *uri) s = exec_start_outgoing_migration(p, max_throttle, detach); else if (strstart(uri, "unix:", &p)) s = unix_start_outgoing_migration(p, max_throttle, detach); + else if (strstart(uri, "fd:", &p)) + s = fd_start_outgoing_migration(mon, p, max_throttle, detach); #endif else monitor_printf(mon, "unknown migration protocol: %s\n", uri); |