[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 21/21] migration: add a parser to accept FT migratio
From: |
Yoshiaki Tamura |
Subject: |
[Qemu-devel] [PATCH 21/21] migration: add a parser to accept FT migration incoming mode. |
Date: |
Thu, 25 Nov 2010 15:07:00 +0900 |
The option looks like, -incoming <protocol>:<address>:<port>,ft_mode
Signed-off-by: Yoshiaki Tamura <address@hidden>
---
migration.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/migration.c b/migration.c
index f0cfa37..58f1158 100644
--- a/migration.c
+++ b/migration.c
@@ -42,9 +42,16 @@ static MigrationState *current_migration;
int qemu_start_incoming_migration(const char *uri)
{
- const char *p;
+ const char *p = uri;
int ret;
+ /* check ft_mode option */
+ if ((p = strstr(p, "ft_mode"))) {
+ if (!strcmp(p, "ft_mode")) {
+ ft_mode = FT_INIT;
+ }
+ }
+
if (strstart(uri, "tcp:", &p))
ret = tcp_start_incoming_migration(p);
#if !defined(WIN32)
--
1.7.1.2
- [Qemu-devel] [PATCH 15/21] virtio-net: replace qemu_sendv_packet_async() with qemu_sendv_packet_async_proxy()., (continued)
- [Qemu-devel] [PATCH 15/21] virtio-net: replace qemu_sendv_packet_async() with qemu_sendv_packet_async_proxy()., Yoshiaki Tamura, 2010/11/25
- [Qemu-devel] [PATCH 14/21] virtio-blk: replace bdrv_aio_multiwrite() with bdrv_aio_multiwrite_proxy()., Yoshiaki Tamura, 2010/11/25
- [Qemu-devel] [PATCH 03/21] Introduce skip_header parameter to qemu_loadvm_state()., Yoshiaki Tamura, 2010/11/25
- [Qemu-devel] [PATCH 10/21] Call init handler of event-tap at main() in vl.c., Yoshiaki Tamura, 2010/11/25
- [Qemu-devel] [PATCH 17/21] savevm: introduce qemu_savevm_trans_{begin, commit}., Yoshiaki Tamura, 2010/11/25
- [Qemu-devel] [PATCH 11/21] ioport: insert event_tap_ioport() to ioport_write()., Yoshiaki Tamura, 2010/11/25
- [Qemu-devel] [PATCH 21/21] migration: add a parser to accept FT migration incoming mode.,
Yoshiaki Tamura <=
- [Qemu-devel] [PATCH 06/21] vl: add a tmp pointer so that a handler can delete the entry to which it belongs., Yoshiaki Tamura, 2010/11/25
- [Qemu-devel] [PATCH 20/21] Introduce -k option to enable FT migration mode (Kemari)., Yoshiaki Tamura, 2010/11/25
- [Qemu-devel] [PATCH 13/21] dma-helpers: replace bdrv_aio_writev() with bdrv_aio_writev_proxy()., Yoshiaki Tamura, 2010/11/25
[Qemu-devel] [PATCH 01/21] Make QEMUFile buf expandable, and introduce qemu_realloc_buffer() and qemu_clear_buffer()., Yoshiaki Tamura, 2010/11/25
[Qemu-devel] [PATCH 19/21] migration-tcp: modify tcp_accept_incoming_migration() to handle ft_mode, and add a hack not to close fd when ft_mode is enabled., Yoshiaki Tamura, 2010/11/25