]> git.proxmox.com Git - mirror_qemu.git/commit - migration/savevm.c
migration: Use savevm_handlers instead of loadvm copy
authorJuan Quintela <quintela@redhat.com>
Wed, 24 May 2017 07:09:58 +0000 (09:09 +0200)
committerJuan Quintela <quintela@redhat.com>
Thu, 1 Jun 2017 16:31:13 +0000 (18:31 +0200)
commit0f42f65781fd784d91730a1366bffcbb9ff47d98
tree8c8b809230a5b3a1a657f093574824ec80495d1b
parentc077a998eb3fcae2d048e3baeb5bc592d30fddde
migration: Use savevm_handlers instead of loadvm copy

There is no reason for having the loadvm_handlers at all.  There is
only one use, and we can use the savevm handlers.

We will remove the loadvm handlers on a following patch.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
--

- Added load_version_id: version_id read from the stream (laurent)
- Added load_section_id: section_id read from the stream (dave)
migration/savevm.c