← Prev in month ← Prev in thread

[PATCH] content: document console vq detach buffer

From
Pankaj Gupta <>
Date
2019-08-13T12:51:41+00:00
ID
Thread
[PATCH] content: document console vq detach buffer
This patch documents console special case where vq buffers
are deleted at port hotunplug time. This behavior is different in
other devices where vq buffers are deleted at device unplug time.

Signed-off-by: Pankaj Gupta <>
---
 content.tex | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/content.tex b/content.tex
index ee0d7c9..33e8ccc 100644
--- a/content.tex
+++ b/content.tex
@@ -497,6 +497,8 @@ \section{Device Cleanup}\label{sec:General Initialization And Device Operation /
 of a live virtqueue.
 
 Thus a driver MUST ensure a virtqueue isn't live (by device reset) before removing exposed buffers.
+Console has a special property that when port is detached virtqueue is considered stopped, device
+must not use any buffers, and it is legal to take buffers out of the device.
 
 \chapter{Virtio Transport Options}\label{sec:Virtio Transport Options}
 
-- 
2.21.0
← Prev in month ← Prev in thread