postcopy: Allow registering of fd handler
commit00fa4fc85b00f1a8a810068d158a7a66e88658eb
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 12 Mar 2018 17:21:04 +0000 (12 17:21 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 20 Mar 2018 03:03:28 +0000 (20 05:03 +0200)
treec9b0fb8b4a92b19ca17e5167077dcadf6ba0a173
parent2a84ffc0be7e54f2f4b76cb3ebfdde0b37bba9f0
postcopy: Allow registering of fd handler

Allow other userfaultfd's to be registered into the fault thread
so that handlers for shared memory can get responses.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
migration/migration.c
migration/migration.h
migration/postcopy-ram.c
migration/postcopy-ram.h
migration/trace-events