fuzz: introduce a virtio vsock fuzzer

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu
2024-05-28 19:49:50 +00:00
committed by Wei Liu
parent d359c8cdce
commit 0cb2c86ff4
4 changed files with 200 additions and 21 deletions

View File

@@ -378,6 +378,11 @@ where
acked_features: self.common.acked_features,
}
}
#[cfg(fuzzing)]
pub fn wait_for_epoll_threads(&mut self) {
self.common.wait_for_epoll_threads();
}
}
impl<B> Drop for Vsock<B>