virtio-devices: vhost-user-net: unpark control queue thread in resume
This thread is virtio-net specific, so it is not handled in the common
virtio device code.
The non-vhost implementation resumes the thread itself. Do the same
thing for vhost-user-net.
@@ -366,7 +366,12 @@ impl Pausable for Net {
}
fn resume(&mut self) -> result::Result<(), MigratableError> {
- self.common.resume()
+ self.common.resume()?;
+
+ if let Some(ctrl_queue_epoll_thread) = &self.ctrl_queue_epoll_thread {
+ ctrl_queue_epoll_thread.thread().unpark();
+ }
+ Ok(())
}
}
