content: enhance device requirements for feature bits
PATCH v2 1/1 content: enhance device requirements for feature bits
Suggested-by Michael S. Tsirkin <[email protected]>
Signed-off-by Tiwei Bie <[email protected]>
---
v2:
- Refine the wording (Cornelia);
content.tex | 7 +++++++ 1 file changed, 7 insertions(+)
content.tex +7 -0
@@ -125,6 +125,13 @@ which was not offered. The device SHOULD accept any valid subset of features the driver accepts, otherwise it MUST fail to set the FEATURES_OK \field{device status} bit when the driver writes it. +If a device has successfully negotiated a set of features +at least once (by succeeding to set the FEATURES_OK +\field{device status} bit when the driver writes it), then +it SHOULD NOT fail re-negotiation of the same set of features +after a device or system reset. Failure to do so would +interfere with resuming from suspend and error recovery. + \subsection{Legacy Interface: A Note on Feature Bits}\label{sec:Basic Facilities of a Virtio Device / Feature Bits / Legacy Interface: A Note on Feature Bits}
Signature · 6 lines
2.17.0 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Quoted 18 lines · On Fri, 8 Jun 2018 16:12:36 +0800 Tiwei Bie <[email protected]> wrote:
Suggested-by Michael S. Tsirkin <[email protected]>Signed-off-by Tiwei Bie <[email protected]>---
v2:
- Refine the wording (Cornelia);content.tex | 7 +++++++ 1 file changed, 7 insertions(+)content.tex +0
-0@@ -125,6 +125,13 @@ which was not offered. The device SHOULD accept any valid subset of features the driver accepts, otherwise it MUST fail to set the FEATURES_OK \field{device status} bit when the driver writes it.
content.tex which was not offered. The device SHOULD accept any valid subset · line 137
Quoted 10 lines
content.tex +7
-0+If a device has successfully negotiated a set of features +at least once (by succeeding to set the FEATURES_OK +\field{device status} bit when the driver writes it), then +it SHOULD NOT fail re-negotiation of the same set of features +after a device or system reset. Failure to do so would +interfere with resuming from suspend and error recovery. + \subsection{Legacy Interface: A Note on Feature Bits}\label{sec:Basic Facilities of a Virtio Device / Feature Bits / Legacy Interface: A Note on Feature Bits}
Reviewed-by Cornelia Huck <[email protected]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Quoted 9 lines · Tiwei Bie
Suggested-by Michael S. Tsirkin <[email protected]>Signed-off-by Tiwei Bie <[email protected]>---
v2:
- Refine the wording (Cornelia);content.tex | 7 +++++++ 1 file changed, 7 insertions(+)
Reviewed-by Stefan Hajnoczi <[email protected]>