On Fri, Mar 14, 2014 at 12:18:38PM +0100, Gerd Hoffmann wrote:
>   Hi,
> 
> > Perhaps a configuration field is better, like this:
> > 
> >      u32 events_read;
> >      u32 events_clear;
> > 
> > A new event sets a bit in events_read and generates a configuration 
> > change interrupt.  The guest should never write to events_read.
> 
> Makes sense to me.  I think I'll go write up things as diff against
> virtio-wip, then post it for review.
> 
> cheers,
>   Gerd
>

Net device has a similar problem with gratitious packet
sending. What we are doing there is VIRTIO_NET_S_ANNOUNCE bit
in the status field in the configuration, coupled with
VIRTIO_NET_CTRL_ANNOUNCE_ACK command to clear it.


-- 
MST

Reply via email to