Re: [PATCH] virtio-spec: clarify ro/rw bits and updating rule of virtio-net status field

From: Rusty Russell
Date: Tue Mar 20 2012 - 16:39:48 EST


On Tue, 20 Mar 2012 14:20:21 +0800, Jason Wang <jasowang@xxxxxxxxxx> wrote:
> This patch clarifies VIRTIO_NET_S_LINK_UP as a read-only bit and
> VIRTIO_NET_S_ANNOUNCE as a read-writable bit. Also introduce the write 1 to
> clear semantics for all read-writable bits of config status field. This could
> help to reduce the config status field updating race between host and guest and
> also simplify the implementation.
>
> Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>

This approach assumes an active config field, which neither lguest nor
S/390 have.

Thanks,
Rusty.
--
How could I marry someone with more hair than me? http://baldalex.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/