From 1bf79ad447c726af521961c55561bcfeed95618b Mon Sep 17 00:00:00 2001 From: rusty Date: Mon, 3 Mar 2014 01:56:32 +0000 Subject: 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 git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@308 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- content.tex | 6 ++++-- 1 file 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} -- cgit v1.2.3