qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/4] virtio-gpu: v0.3 of the virtio based GPU co


From: Michael S. Tsirkin
Subject: Re: [Qemu-devel] [PATCH 3/4] virtio-gpu: v0.3 of the virtio based GPU code.
Date: Sun, 16 Mar 2014 14:28:00 +0200

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

[Prev in Thread] Current Thread [Next in Thread]