qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] question on virtio


From: Michael S. Tsirkin
Subject: [Qemu-devel] question on virtio
Date: Wed, 5 May 2010 14:09:47 +0300
User-agent: Mutt/1.5.19 (2009-01-05)

Hi!
I see this in virtio_ring.c:

        /* Put entry in available array (but don't update avail->idx *
           until they do sync). */

Why is it done this way?
It seems that updating the index straight away would be simpler, while
this might allow the host to specilatively look up the buffer and handle
it, without waiting for the kick.

-- 
MST




reply via email to

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