summary refs log tree commit diff
path: root/src/hw/virtio/queue.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/hw/virtio/queue.rs')
-rw-r--r--src/hw/virtio/queue.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hw/virtio/queue.rs b/src/hw/virtio/queue.rs
index 894b9b9..b288427 100644
--- a/src/hw/virtio/queue.rs
+++ b/src/hw/virtio/queue.rs
@@ -96,6 +96,7 @@ impl<'a> DescriptorChain<'a> {
     /// If the driver designated this as a write only descriptor.
     ///
     /// If this is false, this descriptor is read only.
+    /// Write only means the the emulated device can write and the driver can read.
     pub fn is_write_only(&self) -> bool {
         self.flags & VIRTQ_DESC_F_WRITE != 0
     }