All of lore.kernel.org
 help / color / mirror / Atom feed
* [virtio-comment] [PATCH] content: Reserve virtio-watchog device ID
@ 2020-10-21 13:58 Rob Bradford
  2020-10-22 15:09 ` Alex Bennée
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Rob Bradford @ 2020-10-21 13:58 UTC (permalink / raw)
  To: virtio-comment; +Cc: Rob Bradford

Reserve an ID for a watchdog device which may be used to ensure that the
guest is responsive. This is equivalent of a hardware watchdog device
and will trigger the reboot of the guest if the the host does not
periodic ping from the the guest.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
---
 content.tex | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/content.tex b/content.tex
index bc26674..6f8ec8f 100644
--- a/content.tex
+++ b/content.tex
@@ -2819,6 +2819,8 @@ \chapter{Device Types}\label{sec:Device Types}
 \hline
 33         &   NitroSecureModule \\
 \hline
+35         &   Watchdog \\
+\hline
 \end{tabular}
 
 Some of the devices above are unspecified by this document,
-- 
2.26.2


This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/


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

* Re: [virtio-comment] [PATCH] content: Reserve virtio-watchog device ID
  2020-10-21 13:58 [virtio-comment] [PATCH] content: Reserve virtio-watchog device ID Rob Bradford
@ 2020-10-22 15:09 ` Alex Bennée
  2020-10-23 13:48 ` Stefan Hajnoczi
  2020-10-29  9:25 ` Cornelia Huck
  2 siblings, 0 replies; 6+ messages in thread
From: Alex Bennée @ 2020-10-22 15:09 UTC (permalink / raw)
  To: Rob Bradford; +Cc: virtio-comment, Stratos-dev


Rob Bradford <robert.bradford@intel.com> writes:

> Reserve an ID for a watchdog device which may be used to ensure that the
> guest is responsive. This is equivalent of a hardware watchdog device
> and will trigger the reboot of the guest if the the host does not
> periodic ping from the the guest.

Out of interest is your watchdog device also going to allow for straight
power/reset control?

The use case I'm thinking of is QEMU's -m virt machine which is a purely
virtual machine which is a target for a number of firmware/bootcode
projects. QEMU provides a firmware emulation that will do the right
thing if you issue PSCI supervisor calls and you have directly loaded a
kernel. However if you are testing firmware - for example EDK2 or Arm
Trusted Firmware it is expected to make the final hw appropriate twiddle
to reboot the machine and of course that is undefined for -m virt.

> Signed-off-by: Rob Bradford <robert.bradford@intel.com>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

-- 
Alex Bennée

This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/


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

* Re: [virtio-comment] [PATCH] content: Reserve virtio-watchog device ID
  2020-10-21 13:58 [virtio-comment] [PATCH] content: Reserve virtio-watchog device ID Rob Bradford
  2020-10-22 15:09 ` Alex Bennée
@ 2020-10-23 13:48 ` Stefan Hajnoczi
  2020-10-29  9:25 ` Cornelia Huck
  2 siblings, 0 replies; 6+ messages in thread
From: Stefan Hajnoczi @ 2020-10-23 13:48 UTC (permalink / raw)
  To: Rob Bradford; +Cc: virtio-comment

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

On Wed, Oct 21, 2020 at 02:58:47PM +0100, Rob Bradford wrote:
> Reserve an ID for a watchdog device which may be used to ensure that the
> guest is responsive. This is equivalent of a hardware watchdog device
> and will trigger the reboot of the guest if the the host does not
> periodic ping from the the guest.
> 
> Signed-off-by: Rob Bradford <robert.bradford@intel.com>
> ---
>  content.tex | 2 ++
>  1 file changed, 2 insertions(+)

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

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

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

* Re: [virtio-comment] [PATCH] content: Reserve virtio-watchog device ID
  2020-10-21 13:58 [virtio-comment] [PATCH] content: Reserve virtio-watchog device ID Rob Bradford
  2020-10-22 15:09 ` Alex Bennée
  2020-10-23 13:48 ` Stefan Hajnoczi
@ 2020-10-29  9:25 ` Cornelia Huck
  2020-10-29 10:36   ` Michael S. Tsirkin
  2 siblings, 1 reply; 6+ messages in thread
From: Cornelia Huck @ 2020-10-29  9:25 UTC (permalink / raw)
  To: Rob Bradford; +Cc: virtio-comment, Michael S . Tsirkin

On Wed, 21 Oct 2020 14:58:47 +0100
Rob Bradford <robert.bradford@intel.com> wrote:

> Reserve an ID for a watchdog device which may be used to ensure that the
> guest is responsive. This is equivalent of a hardware watchdog device
> and will trigger the reboot of the guest if the the host does not
> periodic ping from the the guest.
> 
> Signed-off-by: Rob Bradford <robert.bradford@intel.com>
> ---
>  content.tex | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/content.tex b/content.tex
> index bc26674..6f8ec8f 100644
> --- a/content.tex
> +++ b/content.tex
> @@ -2819,6 +2819,8 @@ \chapter{Device Types}\label{sec:Device Types}
>  \hline
>  33         &   NitroSecureModule \\
>  \hline
> +35         &   Watchdog \\
> +\hline
>  \end{tabular}
>  
>  Some of the devices above are unspecified by this document,

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

Time to vote on this (and the patch reserving 34 for I2C?)


This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/


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

* Re: [virtio-comment] [PATCH] content: Reserve virtio-watchog device ID
  2020-10-29  9:25 ` Cornelia Huck
@ 2020-10-29 10:36   ` Michael S. Tsirkin
  2020-10-30 16:34     ` [virtio-comment] [PATCH] content: Reserve virtio-watchdog " Rob Bradford
  0 siblings, 1 reply; 6+ messages in thread
From: Michael S. Tsirkin @ 2020-10-29 10:36 UTC (permalink / raw)
  To: Cornelia Huck; +Cc: Rob Bradford, virtio-comment

On Thu, Oct 29, 2020 at 10:25:36AM +0100, Cornelia Huck wrote:
> On Wed, 21 Oct 2020 14:58:47 +0100
> Rob Bradford <robert.bradford@intel.com> wrote:
> 
> > Reserve an ID for a watchdog device which may be used to ensure that the
> > guest is responsive. This is equivalent of a hardware watchdog device
> > and will trigger the reboot of the guest if the the host does not
> > periodic ping from the the guest.
> > 
> > Signed-off-by: Rob Bradford <robert.bradford@intel.com>
> > ---
> >  content.tex | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/content.tex b/content.tex
> > index bc26674..6f8ec8f 100644
> > --- a/content.tex
> > +++ b/content.tex
> > @@ -2819,6 +2819,8 @@ \chapter{Device Types}\label{sec:Device Types}
> >  \hline
> >  33         &   NitroSecureModule \\
> >  \hline
> > +35         &   Watchdog \\
> > +\hline
> >  \end{tabular}
> >  
> >  Some of the devices above are unspecified by this document,
> 
> Reviewed-by: Cornelia Huck <cohuck@redhat.com>
> 
> Time to vote on this (and the patch reserving 34 for I2C?)

Send Fixes: tag then?

> 
> This publicly archived list offers a means to provide input to the
> OASIS Virtual I/O Device (VIRTIO) TC.
> 
> In order to verify user consent to the Feedback License terms and
> to minimize spam in the list archive, subscription is required
> before posting.
> 
> Subscribe: virtio-comment-subscribe@lists.oasis-open.org
> Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
> List help: virtio-comment-help@lists.oasis-open.org
> List archive: https://lists.oasis-open.org/archives/virtio-comment/
> Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
> List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
> Committee: https://www.oasis-open.org/committees/virtio/
> Join OASIS: https://www.oasis-open.org/join/


This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/


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

* [virtio-comment] [PATCH] content: Reserve virtio-watchdog device ID
  2020-10-29 10:36   ` Michael S. Tsirkin
@ 2020-10-30 16:34     ` Rob Bradford
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Bradford @ 2020-10-30 16:34 UTC (permalink / raw)
  To: virtio-comment; +Cc: Rob Bradford

Reserve an ID for a watchdog device which may be used to ensure that the
guest is responsive. This is equivalent of a hardware watchdog device
and will trigger the reboot of the guest if the the host does not
periodic ping from the the guest.

Fixes: https://github.com/oasis-tcs/virtio-spec/issues/87

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
---
 content.tex | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/content.tex b/content.tex
index bc26674..6f8ec8f 100644
--- a/content.tex
+++ b/content.tex
@@ -2819,6 +2819,8 @@ \chapter{Device Types}\label{sec:Device Types}
 \hline
 33         &   NitroSecureModule \\
 \hline
+35         &   Watchdog \\
+\hline
 \end{tabular}
 
 Some of the devices above are unspecified by this document,
-- 
2.26.2


This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/


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

end of thread, other threads:[~2020-10-30 16:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-21 13:58 [virtio-comment] [PATCH] content: Reserve virtio-watchog device ID Rob Bradford
2020-10-22 15:09 ` Alex Bennée
2020-10-23 13:48 ` Stefan Hajnoczi
2020-10-29  9:25 ` Cornelia Huck
2020-10-29 10:36   ` Michael S. Tsirkin
2020-10-30 16:34     ` [virtio-comment] [PATCH] content: Reserve virtio-watchdog " Rob Bradford

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.