[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 14/21] migration: export migrate_fd_completed() and
From: |
Isaku Yamahata |
Subject: |
[Qemu-devel] [PATCH 14/21] migration: export migrate_fd_completed() and migrate_fd_cleanup() |
Date: |
Thu, 29 Dec 2011 10:25:53 +0900 |
This will be used by postcopy migration.
Signed-off-by: Isaku Yamahata <address@hidden>
---
migration.c | 4 ++--
migration.h | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/migration.c b/migration.c
index 412fdfe..057dde7 100644
--- a/migration.c
+++ b/migration.c
@@ -166,7 +166,7 @@ static void migrate_fd_monitor_suspend(MigrationState *s,
Monitor *mon)
}
}
-static int migrate_fd_cleanup(MigrationState *s)
+int migrate_fd_cleanup(MigrationState *s)
{
int ret = 0;
@@ -198,7 +198,7 @@ void migrate_fd_error(MigrationState *s)
migrate_fd_cleanup(s);
}
-static void migrate_fd_completed(MigrationState *s)
+void migrate_fd_completed(MigrationState *s)
{
DPRINTF("setting completed state\n");
if (migrate_fd_cleanup(s) < 0) {
diff --git a/migration.h b/migration.h
index 6459457..0a5e66f 100644
--- a/migration.h
+++ b/migration.h
@@ -64,7 +64,9 @@ int fd_start_incoming_migration(const char *path);
int fd_start_outgoing_migration(MigrationState *s, const char *fdname);
+int migrate_fd_cleanup(MigrationState *s);
void migrate_fd_error(MigrationState *s);
+void migrate_fd_completed(MigrationState *s);
void migrate_fd_connect(MigrationState *s);
--
1.7.1.1
- [Qemu-devel] [PATCH 17/21] update-linux-headers.sh: teach umem.h to update-linux-headers.sh, (continued)
- [Qemu-devel] [PATCH 17/21] update-linux-headers.sh: teach umem.h to update-linux-headers.sh, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 08/21] arch_init/ram_load: refactor ram_load, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 03/21] arch_init/ram_save: introduce constant for ram save version = 4, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 05/21] arch_init/ram_save_live: factor out RAM_SAVE_FLAG_MEM_SIZE case, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 10/21] exec.c: export last_ram_offset(), Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 20/21] postcopy outgoing: add -p and -n option to migrate command, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 15/21] migration: factor out parameters into MigrationParams, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 12/21] savevm: qemu_pending_size() to return pending buffered size, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 18/21] configure: add CONFIG_POSTCOPY option, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 16/21] umem.h: import Linux umem.h, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 14/21] migration: export migrate_fd_completed() and migrate_fd_cleanup(),
Isaku Yamahata <=
- [Qemu-devel] [PATCH 19/21] postcopy: introduce -postcopy and -postcopy-flags option, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 09/21] exec.c: factor out qemu_get_ram_ptr(), Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 01/21] arch_init: export sort_ram_list() and ram_save_block(), Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 21/21] postcopy: implement postcopy livemigration, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 13/21] savevm, buffered_file: introduce method to drain buffer of buffered file, Isaku Yamahata, 2011/12/28
- Re: [Qemu-devel] [PATCH 00/21][RFC] postcopy live migration, Anthony Liguori, 2011/12/29