diff options
author | Alexey Perevalov | 2017-09-19 18:47:58 +0200 |
---|---|---|
committer | Juan Quintela | 2017-09-22 14:11:29 +0200 |
commit | 54ae0886b12c4934e84381af777d4df6147cc2ec (patch) | |
tree | 1c431138896e897f7e43c2e7f02f50ad643353fd /qemu.nsi | |
parent | migration: fix hardcoded function name in error report (diff) | |
download | qemu-54ae0886b12c4934e84381af777d4df6147cc2ec.tar.gz qemu-54ae0886b12c4934e84381af777d4df6147cc2ec.tar.xz qemu-54ae0886b12c4934e84381af777d4df6147cc2ec.zip |
migration: split ufd_version_check onto receive/request features part
This modification is necessary for userfault fd features which are
required to be requested from userspace.
UFFD_FEATURE_THREAD_ID is a one of such "on demand" feature, which will
be introduced in the next patch.
QEMU have to use separate userfault file descriptor, due to
userfault context has internal state, and after first call of
ioctl UFFD_API it changes its state to UFFD_STATE_RUNNING (in case of
success), but kernel while handling ioctl UFFD_API expects UFFD_STATE_WAIT_API.
So only one ioctl with UFFD_API is possible per ufd.
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'qemu.nsi')
0 files changed, 0 insertions, 0 deletions