Re: [virtio] [PATCH v3] initialization: add extra device status handshake

From
Cornelia Huck <>
Date
2013-10-08T09:15:33+00:00
ID
20131008111355.48d6a883@gondolin
Thread
Re: [virtio] [PATCH v3] initialization: add extra device status handshake
On Tue, 8 Oct 2013 11:47:06 +0300
"Michael S. Tsirkin" <> wrote:

> From: Rusty Russell <>
> 
> 2.2.1: FEATURES_OK.
> 
> Based on MST's ideas, but a bit simpler.  VIRTIO-30.
>     
> Signed-off-by: Rusty Russell <>
> Signed-off-by: Michael S. Tsirkin <>
> 
> ---
> 
> This is just a repost of what Rusty sent, to make it easier
> for people to review and vote on.
> 
> diff --git a/virtio-v1.0-wd01-part1-specification.txt b/virtio-v1.0-wd01-part1-specification.txt
> index b4298bb..938abb8 100644
> --- a/virtio-v1.0-wd01-part1-specification.txt
> +++ b/virtio-v1.0-wd01-part1-specification.txt

> @@ -444,23 +447,49 @@ how to communicate with the specific device.
> 
>  3. The DRIVER status bit is set: we know how to drive the device.
> 
> -4. Device-specific setup, including reading the device feature
> -  bits, discovery of virtqueues for the device, optional per-bus
> -  setup, and reading and possibly writing the device's virtio
> -  configuration space.
> +4. Device feature bits are read, and the the subset of feature bits

Typo: s/the the/the/

> +   understood by the OS and driver is written to the device.
> +
> +5. The FEATURES_OK status bit is set.
>