diff options
Diffstat (limited to 'devices')
-rw-r--r-- | devices/src/virtio/block.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/devices/src/virtio/block.rs b/devices/src/virtio/block.rs index 80d5103..5a8972a 100644 --- a/devices/src/virtio/block.rs +++ b/devices/src/virtio/block.rs @@ -390,6 +390,11 @@ impl Worker { } }; + if let Err(e) = self.control_socket.send(&DiskControlResult::Ready) { + error!("control socket failed to notify readiness: {}", e); + return; + } + 'poll: loop { let events = match poll_ctx.wait() { Ok(v) => v, |