mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Convert the u8 field to Arc<AtomicU8> so the interrupt path can mutate it without holding the common config mutex. Reads at offset 0x15 use Acquire ordering. State serialization preserves the value. Update the three unit tests that construct VirtioPciCommonConfig directly. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>