summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrusty <rusty@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-03-03 01:56:32 +0000
committerrusty <rusty@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-03-03 01:56:32 +0000
commit1bf79ad447c726af521961c55561bcfeed95618b (patch)
tree66423ce01198599f974716272e5217e076fb2ec6
parent64d4d1a8d09fff84b5de6cc30eda359ba5275faf (diff)
PCI: Tighten requirements.
1) make it clear that queue_enable is 0 on reset. 2) device MUST present a VIRTIO_PCI_CAP_DEVICE_CFG if needed for type. Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@308 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
-rw-r--r--content.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/content.tex b/content.tex
index b0876b5..f265172 100644
--- a/content.tex
+++ b/content.tex
@@ -1231,6 +1231,8 @@ configuration, increment \field{config_generation} and clear the flag.
The device MUST reset when 0 is written to \field{device_status}.
+The device MUST present a 0 in \field{queue_enable} on reset.
+
The device MUST present a 0 in \field{queue_size} if the virtqueue
corresponding to the current \field{queue_select} is unavailable.
@@ -1335,8 +1337,8 @@ is enabled.
\subsubsection{Device specific structure}\label{sec:Virtio Transport Options / Virtio Over PCI Bus / PCI Device Layout / Device specific structure}
-The device MAY present at least one VIRTIO_PCI_CAP_DEVICE_CFG capability (some
-devices may not have any device specific structure).
+The device MUST present at least one VIRTIO_PCI_CAP_DEVICE_CFG capability for
+any device type which has a device specific structure.
\devicenormative{\paragraph}{Device specific structure}{Virtio Transport Options / Virtio Over PCI Bus / PCI Device Layout / Device specific structure}