diff options
author | Juan Quintela <quintela@redhat.com> | 2016-01-14 16:52:55 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-09-22 14:11:22 +0200 |
commit | f986c3d2569c6aa5cd03a6b8bbb5371e4b608d3c (patch) | |
tree | 1580e728ca8e0636f89e14f993c6319b29306bce /nbd | |
parent | 0fb86605eac50d488b1a8d4a9d6986defc3adca9 (diff) | |
download | qemu-f986c3d2569c6aa5cd03a6b8bbb5371e4b608d3c.zip qemu-f986c3d2569c6aa5cd03a6b8bbb5371e4b608d3c.tar.gz qemu-f986c3d2569c6aa5cd03a6b8bbb5371e4b608d3c.tar.bz2 |
migration: Create multifd migration threads
Creation of the threads, nothing inside yet.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
--
Use pointers instead of long array names
Move to use semaphores instead of conditions as paolo suggestion
Put all the state inside one struct.
Use a counter for the number of threads created. Needed during cancellation.
Add error return to thread creation
Add id field
Rename functions to multifd_save/load_setup/cleanup
Change recv parameters to a pointer to struct
Change back to a struct
Use Error * for _cleanup
Diffstat (limited to 'nbd')
0 files changed, 0 insertions, 0 deletions