diff options
| author | Dr. David Alan Gilbert | 2018-03-12 18:21:04 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2018-03-20 04:03:28 +0100 |
| commit | 00fa4fc85b00f1a8a810068d158a7a66e88658eb (patch) | |
| tree | c9b0fb8b4a92b19ca17e5167077dcadf6ba0a173 /migration/migration.h | |
| parent | libvhost-user: Open userfaultfd (diff) | |
| download | qemu-00fa4fc85b00f1a8a810068d158a7a66e88658eb.tar.gz qemu-00fa4fc85b00f1a8a810068d158a7a66e88658eb.tar.xz qemu-00fa4fc85b00f1a8a810068d158a7a66e88658eb.zip | |
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>
Diffstat (limited to 'migration/migration.h')
| -rw-r--r-- | migration/migration.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/migration/migration.h b/migration/migration.h index 08c5d2ded1..d02a759331 100644 --- a/migration/migration.h +++ b/migration/migration.h @@ -51,6 +51,8 @@ struct MigrationIncomingState { QemuMutex rp_mutex; /* We send replies from multiple threads */ void *postcopy_tmp_page; void *postcopy_tmp_zero_page; + /* PostCopyFD's for external userfaultfds & handlers of shared memory */ + GArray *postcopy_remote_fds; QEMUBH *bh; |
