All of lore.kernel.org
 help / color / mirror / Atom feed
* [virtio-dev] [PATCH] content: document console vq detach buffer
@ 2019-08-13 12:51 Pankaj Gupta
  2019-08-13 15:21 ` Stefan Hajnoczi
  2019-08-18 11:49 ` [virtio-dev] " Michael S. Tsirkin
  0 siblings, 2 replies; 6+ messages in thread
From: Pankaj Gupta @ 2019-08-13 12:51 UTC (permalink / raw)
  To: mst, virtio-dev; +Cc: jasowang, amit, pagupta

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 <pagupta@redhat.com>
---
 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


---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-08-19 10:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-13 12:51 [virtio-dev] [PATCH] content: document console vq detach buffer Pankaj Gupta
2019-08-13 15:21 ` Stefan Hajnoczi
2019-08-14  6:33   ` Pankaj Gupta
2019-08-14 10:16     ` Stefan Hajnoczi
2019-08-18 11:49 ` [virtio-dev] " Michael S. Tsirkin
2019-08-19 10:19   ` Pankaj Gupta

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.