cloud-hypervisor/devices
Rob Bradford a00d29867c fuzz, vmm: Avoid infinite loop in CMOS fuzzer
With the addition of the spinning waiting for the exit event to be
received in the CMOS device a regression was introduced into the CMOS
fuzzer. Since there is nothing to receive the event in the fuzzer and
there is nothing to update the bit the that the device is looping on;
introducing an infinite loop.

Use an Option<> type so that when running the device in the fuzzer no
Arc<AtomicBool> is provided effectively disabling the spinning logic.

Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61165

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
2023-08-07 08:04:55 +08:00
..
src fuzz, vmm: Avoid infinite loop in CMOS fuzzer 2023-08-07 08:04:55 +08:00
Cargo.toml devices: pvpanic: Add pci configuration for pvpanic device 2023-07-06 11:14:54 +01:00