mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-22 04:25:21 +00:00
virtio-devices: console: Provide 'wait_for_epoll_threads'
Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
2bbb08b2a4
commit
683491a955
@ -692,6 +692,11 @@ impl Console {
|
|||||||
in_buffer: self.in_buffer.lock().unwrap().clone().into(),
|
in_buffer: self.in_buffer.lock().unwrap().clone().into(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(fuzzing)]
|
||||||
|
pub fn wait_for_epoll_threads(&mut self) {
|
||||||
|
self.common.wait_for_epoll_threads();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Drop for Console {
|
impl Drop for Console {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user