OSDN Git Service

libvhost-user+postcopy: Register new regions with the ufd
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 12 Mar 2018 17:21:09 +0000 (17:21 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 20 Mar 2018 03:03:28 +0000 (05:03 +0200)
commit51a5d6e5b20077c1657593a60b300f611ab7049f
tree71930a67c354f839ab7d553664fdcecdf0c8e1aa
parent1cba9f6e662d0f7609c5e6a4cf66e8b0b1e601aa
libvhost-user+postcopy: Register new regions with the ufd

When new regions are sent to the client using SET_MEM_TABLE, register
them with the userfaultfd.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
contrib/libvhost-user/libvhost-user.c