mirror of
https://dev.lirent.ru/Vatrog/vm-automation-signaling.git
synced 2026-06-25 20:36:36 +03:00
fix(memctx): retry cold bootstrap with backoff while guest boots
The cold address-space bootstrap (host_bootstrap -> System DTB) ran once and was terminal: when the adapter attached before the guest finished booting, no System process was found, the adapter emitted a single ERROR and never retried, so the memctx datum was never published. Make it self-healing: on bootstrap failure arm a one-shot backoff timerfd (a second adapter fd, demuxed by cookie) that re-kicks the bootstrap until it succeeds; reset and disarm on success. Drop the per-failure URGENT ERROR (a still-booting guest is transient, not a fault) for a single diagnostic line on the first failure. Add a stub fail-injection (cfg fail_boots) and test_retry. Bump 0.3.5.
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
# Single source of truth for the version: CI passes -DVMSIG_VERSION=${TAG#v}, so the project
|
||||
# version (-> libvgpu-perception SONAME/.so version) and the .deb version come from one tag.
|
||||
set(VMSIG_VERSION "0.3.4" CACHE STRING "Release version (MAJOR.MINOR.PATCH); CI passes the tag")
|
||||
set(VMSIG_VERSION "0.3.5" CACHE STRING "Release version (MAJOR.MINOR.PATCH); CI passes the tag")
|
||||
project(vmsig VERSION ${VMSIG_VERSION} LANGUAGES C)
|
||||
|
||||
set(CMAKE_C_STANDARD 17)
|
||||
|
||||
Reference in New Issue
Block a user