mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Cover the three observable cases of consume_config_change. With the flag set the counter advances by one and the flag is cleared. With the flag clear the call is a no-op. A burst of flag sets between two reads results in only one bump, which is the wrap hazard mitigation the spec asks for. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>