rust-vmm / vm-virtio

virtio implementation
Apache License 2.0
364 stars 87 forks source link

fuzz: iterate only over descriptor chains #235

Closed andreeaflorescu closed 1 year ago

andreeaflorescu commented 1 year ago

Summary of the PR

We were iterating over both descriptor chains, and descriptors in a chain. This was triggering a timeout when running the fuzzer. When implementing a device though, this timeout should not happen because the device implementation must make sure to only retrieve as many descriptor chains as it needed. This cannot be addressed at the queue abstraction level.

Requirements

Before submitting your PR, please make sure you addressed the following requirements: