[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 19/19] migration: add a parser to accept FT migratio
From: |
Yoshiaki Tamura |
Subject: |
[Qemu-devel] [PATCH 19/19] migration: add a parser to accept FT migration incoming mode. |
Date: |
Mon, 27 Dec 2010 17:25:37 +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 a4a39eb..14d7089 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] Re: [PATCH 18/19] Introduce -k option to enable FT migration mode (Kemari)., (continued)
- [Qemu-devel] Re: [PATCH 18/19] Introduce -k option to enable FT migration mode (Kemari)., Michael S. Tsirkin, 2010/12/27
- [Qemu-devel] Re: [PATCH 18/19] Introduce -k option to enable FT migration mode (Kemari)., Yoshiaki Tamura, 2010/12/27
- [Qemu-devel] Re: [PATCH 18/19] Introduce -k option to enable FT migration mode (Kemari)., Michael S. Tsirkin, 2010/12/27
- Re: [Qemu-devel] Re: [PATCH 18/19] Introduce -k option to enable FT migration mode (Kemari)., Yoshiaki Tamura, 2010/12/27
- Re: [Qemu-devel] Re: [PATCH 18/19] Introduce -k option to enable FT migration mode (Kemari)., Avi Kivity, 2010/12/27
- Re: [Qemu-devel] Re: [PATCH 18/19] Introduce -k option to enable FT migration mode (Kemari)., Yoshiaki Tamura, 2010/12/27
- Re: [Qemu-devel] Re: [PATCH 18/19] Introduce -k option to enable FT migration mode (Kemari)., Michael S. Tsirkin, 2010/12/27
- Re: [Qemu-devel] Re: [PATCH 18/19] Introduce -k option to enable FT migration mode (Kemari)., Yoshiaki Tamura, 2010/12/27
[Qemu-devel] [PATCH 01/19] Make QEMUFile buf expandable, and introduce qemu_realloc_buffer() and qemu_clear_buffer()., Yoshiaki Tamura, 2010/12/27
[Qemu-devel] [PATCH 10/19] Call init handler of event-tap at main() in vl.c., Yoshiaki Tamura, 2010/12/27
[Qemu-devel] [PATCH 19/19] migration: add a parser to accept FT migration incoming mode.,
Yoshiaki Tamura <=
[Qemu-devel] [PATCH 16/19] migration: introduce migrate_ft_trans_{put, get}_ready(), and modify migrate_fd_put_ready() when ft_mode is on., Yoshiaki Tamura, 2010/12/27
[Qemu-devel] [PATCH 07/19] Introduce fault tolerant VM transaction QEMUFile and ft_mode., Yoshiaki Tamura, 2010/12/27
[Qemu-devel] [PATCH 09/19] Introduce event-tap., Yoshiaki Tamura, 2010/12/27
[Qemu-devel] [PATCH 13/19] net: insert event-tap to qemu_send_packet() and qemu_sendv_packet_async()., Yoshiaki Tamura, 2010/12/27