cloud-hypervisor/devices/src
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
..
legacy fuzz, vmm: Avoid infinite loop in CMOS fuzzer 2023-08-07 08:04:55 +08:00
acpi.rs vmm: Only return from reset driven I/O once event received 2023-08-04 09:57:25 +08:00
gic.rs vm-device: support batch update interrupt source group GSI 2023-08-03 15:58:36 +01:00
interrupt_controller.rs vmm,devices: Change Gic snapshot and restore path 2022-12-01 17:07:25 +01:00
ioapic.rs vm-device: support batch update interrupt source group GSI 2023-08-03 15:58:36 +01:00
lib.rs devices: pvpanic: add method for DeviceManager 2023-07-06 11:14:54 +01:00
pvpanic.rs devices: pvpanic: add method for DeviceManager 2023-07-06 11:14:54 +01:00
tpm.rs devices: tpm: failure to deliver request is considered fatal 2023-01-31 18:09:18 +00:00