diff --git a/virtio-devices/src/block.rs b/virtio-devices/src/block.rs index bf7d9123c..0f6ca0882 100644 --- a/virtio-devices/src/block.rs +++ b/virtio-devices/src/block.rs @@ -186,6 +186,9 @@ impl BlockEpollHandler { } if request_type == RequestType::Out && disable_sector0_writes && request.sector == 0 { + warn!( + "Attempting to write to sector 0 on a raw disk without specifying image_type=raw" + ); return Err(ExecuteError::ReadOnly); }