summaryrefslogtreecommitdiffstats
path: root/lib/oeqa
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2026-05-28 14:17:32 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2026-05-28 15:07:56 +0000
commit5af454afa06483f4b0ef5653af750139ed97d32c (patch)
tree4fe21df6e9fc0189cd31000513e65266bce7580f /lib/oeqa
parentbefa00ea2e98e7951bfa920dd07cd60cf18c911e (diff)
downloadmeta-virtualization-5af454afa06483f4b0ef5653af750139ed97d32c.tar.gz
criu: update to v4.2-tip
Switches the recipe from 'master' (frozen at v4.2 tag) to 'criu-dev' (active development), picking up 211 commits past v4.2 — including AMDGPU plugin work, kernel 7.0 rseq compat, protobuf 7.x compat, and a host of restore/zdtm fixes. Two recipe-side adjustments are needed for the new tree to build under OE: - Set HOSTCC=${BUILD_CC} so the compel host-tool build can find a host compiler. Upstream commit 36c63ecb5 ("make: default CC to cc instead of gcc") changed scripts/nmk/scripts/tools.mk to default HOSTCC to 'cc', which the native sysroot doesn't provide (only the prefixed x86_64-poky-linux-gcc). - Refresh 0001-plugins-cuda-pass-DEBUG_PREFIX_MAP.patch for new context: upstream added $(DEFINES) to the cuda_plugin.so build line, so the refreshed patch now inserts our $(DEBUG_PREFIX_MAP) before $(DEFINES) rather than at the (no-longer-present) original position. Bumping criu to version v4.2-211-g4d76d1acd, which comprises the following commits: 4d76d1acd ci: shard alpine-test into parallel jobs to reduce CI time da5b7bf82 zdtm: unregister rseq before zeroing the rseq area 3db4b0922 plugins/amdgpu: Fix unbalanced quotes in a warning message 3805d59cc plugins/amdgpu: Demote one more error to warning 71be2f42e plugins/amdgpu: Fix strtoul error handling eca973251 plugins/amdgpu: Fixup printf format in env handling f73bf1b05 plugins/amdgpu: Reduce scope of some globals 1961c5e0d plugins/amdgpu: Cleanup env variable handling e40e6f766 restore: add missing continue in restorer_get_vma_hint b0b89a94f zdtm: check reservation mmaps are restored correctly 7daaa11aa mem: don't PROT_WRITE on reservation mmaps 2c9ee0abd restore: update prev_vma_end after processing the last vma in a list 5039458f6 pie/restorer: normalize tv_nsec when re-anchoring absolute timerfd expiry 9a1453b38 compel: keep ELF metadata for ld.lld 36c63ecb5 make: default CC to cc instead of gcc 4bc9adf11 contrib: add tests for criu-service-client 57a92dbb3 contrib: add reference client for criu-service 14cb3c201 net: Route veth restore through usernsd for userns mode c1cea9004 pycriu: Fix FieldDescriptor.label removal in protobuf 7.x 5546c06a1 zdtm: Fix rseq01 test for kernel 7.0 rseq changes 9777d2cf0 zdtm: Skip socket_udplite test when kernel lacks UDPLITE 09d7f7a2e ci: Add vanilla next kernel test variant to Lima CI job 189ad2c6f sockets: Treat UDPLITE as optional in collect_err() f6b7fb610 plugins/amdgpu: Fix remaining wrong usages of pr_perror 543612ae4 plugins/amdgpu: amdgpu_plugin_drm_restore_file() does not need to use libdrm 4cf1e190e plugins/amdgpu: Use save_vma_updates for all call sites 93ee1c527 plugins/amdgpu: Do not try dmabuf fd restore if render restore failed 9a65f7ede plugins/amdgpu: Convert away from libc buffered file IO 909eb890f plugins/amdgpu: Use the load_img helper in drm file restore 65f7baaf0 plugins/amdgpu: Move drm file dump and restore into helpers 05961714e plugins/amdgpu: Add plugin to inventory even if process has no vmas 7041509a5 plugins/amdgpu: Check sdma operation type early and once 8315b1a7a plugins/amdgpu: Fix open_drm_render_device() a85c10c77 plugins/amdgpu: Do not eat the errno in kmtIoctl e656198ca plugins/amdgpu: Reduce amount of debug logging a little bit 59eac8cc6 plugins/amdgpu: Remove plugin_log_msg() ea080673b plugins/amdgpu: Consolidate vm_info collection 5659b3954 plugins/amdgpu: Correct offset type and add error handling for seek operations 830e6cd3b plugins/amdgpu: Flatten amdgpu_restore_init a bit b9b1600bf plugins/amdgpu: Close dma-buf image file if the read fails 19baa7c37 plugins/amdgpu: Close the directory when image probing fails 0bd0c14bd plugins/amdgpu: Propagate failure to save buffer object content e26ed5163 plugins/amdgpu: Fix logging of failures to open files during restore init b1281444a plugins/amdgpu: Fix drm pages size header c0002ed83 plugins/amdgpu: Remove unused new_minor from struct vma_metadata ae4ed06f5 plugins/amdgpu: Remove unused current_pid global variable 52faca651 plugins/amdgpu: Fix one error message 9293f14fd plugins/amdgpu: Check that image unpacking worked during plugin init 5b88d1690 plugins/amdgpu: Fix shared memory allocation and teardown 81df65929 plugins/amdgpu: Use correct sizes to unmap sdma copy objects 47ab00240 plugins/amdgpu: Fix error handling in plugin init d96a2eb29 plugins/amdgpu: Close file on failures in amdgpu_plugin_dmabuf_restore 79c347c1e plugins/amdgpu: Clarify open_img_file docstring 592f04507 files-reg: warn when external file has no inherit-fd mapping on restore 176f14019 zdtm/bpfmap: parse frozen field with SCNu32 1e200015a proc_parse: Preallocate extra space for possible option string growth 9afe2e92d zdtm/ipc: use snprintf and bounded writes for sysctl payloads 740d67749 zdtm/ipc: close sysctl fd on write error paths 712f68d49 zdtm/packet_sock_mmap: keep parser warning-free with unsigned maj/min d24bfbf7d test/bers: use size_t format specifiers for file counters 3d5eb1c14 proc_parse: use matching unsigned formats for uid/gid and tfd parsing f943d4f32 bfd: fix partial write handling in bwritev() 78a712021 bfd: Support dynamic buffer resizing 351a16cab plugin/amdgpu: validate dmabuf_fd before drmPrimeFDToHandle() call 315fbed8f plugin/amdgpu: fix resource leaks in drm dump error paths b518e768c plugin/amdgpu: fix use of uninitialized pointers on partial allocation failure c2fba65e5 plugin/amdgpu: fix device handle leak in handle_for_shared_bo_fd() 9965ede5c plugin/amdgpu: set errno in open_img_file() on read/write failure 3e8d166ab plugin/amdgpu: fix fd leak in open_img_file() on fdopen failure 8e36132ef plugin/amdgpu: fix resource leaks in drm restore error paths b8d118a75 plugin/amdgpu: fix memory leak in dmabuf restore error paths 16b252ee2 plugin/amdgpu: add missing xzalloc() NULL checks in drm af32d407a plugin/amdgpu: check posix_memalign() return value 611af0188 plugin/amdgpu: add open_img_file error handling 22c3ab6b8 proc: Fix potential buffer overflow in parse_threads e956db75f restore: Fix exit code truncation for zombies c11579493 criu: Fix garbage write to /proc files fbcc99480 restore: Fix incorrect mmap error check 2c20b0482 restore: Fix memory leak of siginfo_priv_nr b0ebc416a restore: Fix memory leaks in CoreEntry handling 128566551 ci: remove aarch64 Fedora Rawhide from Cirrus CI 81f26b6b1 ci: add aarch64 matrix build for Fedora Rawhide test 87951452f test/rpc: clean up stale pidfile and socket before starting service ab28d4466 test/rpc: add page server address test f513ac16a cr-service: fix address handling of requests b19f73467 zdtm: add pipe_owner test for pipe ownership preservation fa7918890 pipes: restore pipe ownership to fix /proc/self/fd access 711b4ebfb ci: port Vagrant Fedora Rawhide test to GitHub Actions 9d8b23d5d ci: fix podman pids limit for thread-bomb test 4bcf08ce7 compel: fix heap alignment for structs with xsave state e39ff5228 tests: it seems 30 seconds timeout is not always enough 31d941ba7 sk-queue: increase CMSG_MAX_SIZE to handle all SCM types 7539f399f coredump: enable coredump generation on riscv64 c70a4b384 zdtm: add timerslack_ns test b258d6454 criu: restore timer_slack_ns per thread dfed6f073 criu: collect and dump timer_slack_ns per thread 985e6c6dd images: add timerslack_ns field to thread_core_entry 21c14313d contributing: document AI-assisted contribution guidelines 33dca7905 zdtm: add file_lease05 test for broken read lease restore 64c8d4a11 file-lock: fix type confusion in broken lease restore 33e340bed zdtm: fix TOCTOU race creating criu.tree directory 010a346c6 feat: remove build-time patches from Nixpkgs bbcadd85f feat: specify ourselves as Nix flake source f81e46b73 ci: upgrade CodeQL actions from v3 to v4 bce0a3c75 plugin/amdgpu: Don't print error when restoring drm file bd4cd4e9e plugin/amdgpu: Check output of open_img_file af3f4be06 ci: remove mips64el-stable-cross and mips64el-unstable-cross 7582216e1 loongarch64: implement atomic_dec_and_test 65cb18af2 pycriu: Force python protobuf backend in 3.14+ c9a0190f0 ci: mark archlinux-test as continue-on-error a13ce915c zdtm: use private bind-mount as GCOV external mount target e6bea0372 ci: stabilize gcov-test coverage upload bcd66dc30 scripts: fully qualify base image references a72bf212e scripts: improve layer caching of container builds 941f9b108 readme: update reference to consolidated workflows 5e1531888 ci: use clean state before self-contained check 5add27e6c compel/infect: optimize compel_stop_tasks_on_syscall 4a67a9a46 restorer: use atomic to synchronize threads e718fac15 compel: simplify compel_stop_on_syscall 7daebbe46 compel: remove hardware breakpoint usage 869d481cf restore: parallelize task stopping in attach_to_tasks and catch_tasks 15f11e404 compel/infect: Use waitpid with specific PIDs in compel_stop_tasks_on_syscall 09134c8ca restore: read user ns from pstree ids image f5974cc32 pagemap-cache: stop filling cache on VMA_AREA_GUARD 1bcbc55eb criu: fix double-open of userns image in --stream mode 04f1b9fb6 test: libcriu: use installed headers and library 3f3acc320 scripts: rseq: fix detection of rseq_cpu_id_state 8c29a7ccd ci: Consolidate test workflows and gate them by Alpine Test 5468d4a53 plugin/amdgpu: fix pr_perror trailing newline 555b257c5 plugin/amdgpu: Catch error for failure to open drm device 50e22d80a sk-queue: Fix memory leaks in error paths 1524ffc99 sk-queue: Add missing MSG_CTRUNC check in dump_sk_queue c180188db zdtm: fix incorrect open() syscall use for file creation without mode f22c95d2d restore: move cgroup restore after creds are prepared 1a4b338ed unix: fix dangling pointers in icon hash on error path 813e1a525 sk-inet: remove trailing whitespace 39c66a704 pagemap: detect EOF on truncated pages in process_async_reads() cf2b8c4bc restorer: detect EOF on truncated pages file to prevent infinite loop 7c5b745c6 MAINTAINERS: Update maintainer roles c5b81c0d7 Add UPDATE_INETSK hook for inet address rewrite cff99dbcc fsnotify: Fix mnt_id type to avoid undefined behavior with -1 sentinel 859924c2f fsnotify: Check mntns_get_root_by_mnt_id() return value in get_mark_path() 82c09bb92 ci: Re-enable zdtm/static/binfmt_misc 5c994447a zdtm/static/binfmt_misc: make the random generation actually random 838a59087 zdtm/static/binfmt_misc: run cleanup hook before restore 577c9a0f2 zdtm.py: ignore utf-8 conversion errors in test logs e6510a338 criu: Support binfmt_misc sandboxing ecab9e357 criu: kerndat: add kerndat_has_binfmt_misc_sandboxing() 0ae3a9498 criu: Remove legacy binfmt_misc handling code 100b3087f compel/x86: probe kernel task_size at runtime c676864d4 test: Add ZDTM test for SIGEV_THREAD_ID timer on thread leader aef72658c dump: Initialize thread leader's vtid before dumping posix timers 4d293afbe page-xfer: Fix page_read resource leak in page_pipe_from_pagemap() b5d531eb4 sk-unix: fix mutex_ghost deadlock on connect failure in post_open_standalone fc2cddbdb plugin/amdgpu: Allow dump with victim unable to see all gpus cfccc8387 fsnotify: Fix memory leak in pre_dump_one_fanotify error path 90407c014 fsnotify: Fix memory leak in pre_dump_one_inotify error path 155514d34 fsnotify: Improve error messages with more context 9e2c0cc56 fsnotify: Fix file descriptor leak in restore_one_inotify() 15bd86094 github: add Copilot repository-specific instructions 9e5fbcd66 pycriu: Fix self-dump failure with explicit PID 21a675826 cr-restore/shstk: Make arch_shstk_unlock use correct pid 07af3304f restore/pie: check return value of sys_rseq on unregister fb59ae504 test: fix GCC 16 compile error b208bec12 crit: show dead task_state 9885fb3c7 crit: fix incorrect task state decoding 71fe85ec9 ci: add iproute2 to the list of packages in apt-packages.sh 36f1e9d38 amdgpu: use fseeko with large-file support instead of fseeko64 ddf7a170f infect-types: fix user_gcs redefine error 2dd66866e zdtm/cgroup_stray: fix uninitialized variable 974c1bc89 zdtm/tempfs_subns: fix uninitialized variable b1a51489d compel: fix sys_clock_gettime function signature fc1867c44 kerndat: Fix error handling for kerndat_has_timer_cr_ids() fail 2e5f9facf util: Make close_safe() reset fd to -1 even on close() failure d4e811413 readme: use a local copy of the CRIU logo 30acbabcd ci: also exclude docker version 29 f66e59ee5 cr-dump: fix error handling f78bea8d3 zdtm: gcs: add opt-in GCS test support for AArch64 d591e320e criu/restore: gcs: adds restore implementation for Guarded Control Stack 2429d49e6 criu/dump: gcs: save GCS state during dump 41ecb7ac7 images: aarch64: add user_aarch64_gcs_entry 92e6e523b compel: gcs: add opt-in GCS test support for AArch64 2f676d20e compel: gcs: set up GCS token/restorer for rt_sigreturn 6bb856b0a compel: gcs: initial GCS support for signal frames 73ca07148 gcs: add GCS constants and helper macros 501b714f7 compel/aarch64: refactor fpregs handling 90300748e tty: fix compiler error 09bb36266 restore: fix "Defect type: UNINIT" bf82389de dump: fix "Defect type: IDENTICAL_BRANCHES" 2cf8f13ca doc: update pipe/socket examples for --inherit-fd 62aadb22a amdgpu: use 64-bit offsets for parallel restore 1db7eed69 amdgpu: use local kernel headers instead of libdrm 29525f8cb codespell: skip amdgpu kernel headers e4a5e164b plugins/amdgpu: update kernel headers f56ccfd2d plugins/amdgpu: remove unused variable 6ed49894c plugins/amdgpu: add a comment for retry_needed 77e6558dd plugins/amdgpu: apply code-style fixes 690b61043 plugins/amdgpu: return 0 in post_dump_dmabuf_check ff35a9126 plugins/amdgpu: remove excessive debug messages 9e404e208 plugin/amdgpu: Support for checkpoint of dmabuf fds d43217dad plugin: Add DUMP_DEVICES_LATE callback db0ec806d plugin/amdgpu: Add handling for amdgpu drm buffer objects 5eb61e1b1 plugin/amdgpu: Add drm header 0b7ca29c1 plugin/amdgpu: Add amdgpu drm header fb02dbf68 files-ext: Allow plugin files to retry 7a4ee0ae8 restorer: Skip non-regular VMAs 920437205 plugins/amdgpu: Update `README.md` and `criu-amdgpu-plugin.txt` 4a3a695df plugins/amdgpu: Implement parallel restore 33ed774c8 plugins/amdgpu: Add parallel restore command 638614075 plugins/amdgpu: Add socket operations ddbb3dbd8 limit the field width of 'scanf' 3c7d4fa01 criu: Version 4.2 (CRIUTIBILITY) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'lib/oeqa')
0 files changed, 0 insertions, 0 deletions