Discussion of the implementations of VIRTIO specification
 help / color / mirror / Atom feed
* [virtio-dev] [PATCH v2] content: enhance device requirements for feature bits
@ 2018-06-08  8:12 Tiwei Bie
  2018-06-08  8:47 ` [virtio-dev] " Cornelia Huck
  2018-06-11 13:29 ` Stefan Hajnoczi
  0 siblings, 2 replies; 3+ messages in thread
From: Tiwei Bie @ 2018-06-08  8:12 UTC (permalink / raw)
  To: mst, cohuck, stefanha, pbonzini, virtio-dev
  Cc: dan.daly, cunming.liang, zhihong.wang

Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Fixes: https://github.com/oasis-tcs/virtio-spec/issues/14
---
v2:
- Refine the wording (Cornelia);

 content.tex | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/content.tex b/content.tex
index f996fad..41cba41 100644
--- a/content.tex
+++ b/content.tex
@@ -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}
-- 
2.17.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] 3+ messages in thread

* [virtio-dev] Re: [PATCH v2] content: enhance device requirements for feature bits
  2018-06-08  8:12 [virtio-dev] [PATCH v2] content: enhance device requirements for feature bits Tiwei Bie
@ 2018-06-08  8:47 ` Cornelia Huck
  2018-06-11 13:29 ` Stefan Hajnoczi
  1 sibling, 0 replies; 3+ messages in thread
From: Cornelia Huck @ 2018-06-08  8:47 UTC (permalink / raw)
  To: Tiwei Bie
  Cc: mst, stefanha, pbonzini, virtio-dev, dan.daly, cunming.liang,
	zhihong.wang

On Fri,  8 Jun 2018 16:12:36 +0800
Tiwei Bie <tiwei.bie@intel.com> wrote:

> Suggested-by: Michael S. Tsirkin <mst@redhat.com>
> Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
> Fixes: https://github.com/oasis-tcs/virtio-spec/issues/14
> ---
> v2:
> - Refine the wording (Cornelia);
> 
>  content.tex | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/content.tex b/content.tex
> index f996fad..41cba41 100644
> --- a/content.tex
> +++ b/content.tex
> @@ -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}

Reviewed-by: Cornelia Huck <cohuck@redhat.com>

---------------------------------------------------------------------
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	[flat|nested] 3+ messages in thread

* [virtio-dev] Re: [PATCH v2] content: enhance device requirements for feature bits
  2018-06-08  8:12 [virtio-dev] [PATCH v2] content: enhance device requirements for feature bits Tiwei Bie
  2018-06-08  8:47 ` [virtio-dev] " Cornelia Huck
@ 2018-06-11 13:29 ` Stefan Hajnoczi
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2018-06-11 13:29 UTC (permalink / raw)
  To: Tiwei Bie
  Cc: mst, cohuck, pbonzini, virtio-dev, dan.daly, cunming.liang,
	zhihong.wang

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

On Fri, Jun 08, 2018 at 04:12:36PM +0800, Tiwei Bie wrote:
> Suggested-by: Michael S. Tsirkin <mst@redhat.com>
> Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
> Fixes: https://github.com/oasis-tcs/virtio-spec/issues/14
> ---
> v2:
> - Refine the wording (Cornelia);
> 
>  content.tex | 7 +++++++
>  1 file changed, 7 insertions(+)

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

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

end of thread, other threads:[~2018-06-11 13:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-08  8:12 [virtio-dev] [PATCH v2] content: enhance device requirements for feature bits Tiwei Bie
2018-06-08  8:47 ` [virtio-dev] " Cornelia Huck
2018-06-11 13:29 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox