Postcopy migration: Add userfaultfd- user-mode-only capability
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | migration: introduce postcopy-uffd-usermode-only capabilitymigration/ migration/ migration/ +1 more | +36 | 0 replies | |
| 2/3 | migration: postcopy-uffd-usermode-only documentationdocs/ | +9 | 0 replies | |
| 3/3 | tests: add postcopy-uffd-usermode-only capability into migration-testtests/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Postcopy migration: Add userfaultfd- user-mode-only capability
Since kernel v5.11, Unprivileged user (without SYS_CAP_PTRACE capability) must pass UFFD_USER_MODE_ONLY to userfaultd in case unprivileged_userfaultfd sysctl knob is 0.
Please refer to https://lwn.net/Articles/819834/ and the kernel commits:37cd0575 userfaultfd: add UFFD_USER_MODE_ONLYd0d4730a userfaultfd: add user-mode only option to unprivileged_userfaultfd sysctl knob
This patch set adds a migration capability to pass UFFD_USER_MODE_ONLY for postcopy migration.
Lin Ma (3):
migration: introduce postcopy-uffd-usermode-only capability
migration: postcopy-uffd-usermode-only documentation
tests: add postcopy-uffd-usermode-only capability into migration-test
docs/devel/migration.rst | 9 +++++++++ migration/migration.c | 9 +++++++++ migration/migration.h | 1 + migration/postcopy-ram.c | 22 +++++++++++++++++++--- qapi/migration.json | 8 +++++++- tests/qtest/migration-test.c | 11 +++++++++-- 6 files changed, 54 insertions(+), 6 deletions(-)
Signature · 1 line
2.26.2