qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] question on virtio
@ 2010-05-05 11:09 Michael S. Tsirkin
  2010-05-05 19:40 ` [Qemu-devel] " Anthony Liguori
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Michael S. Tsirkin @ 2010-05-05 11:09 UTC (permalink / raw)
  To: Rusty Russell; +Cc: kvm, qemu-devel, virtualization

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-06 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-05 11:09 [Qemu-devel] question on virtio Michael S. Tsirkin
2010-05-05 19:40 ` [Qemu-devel] " Anthony Liguori
2010-05-05 20:59   ` Michael S. Tsirkin
2010-05-06  1:32 ` Rusty Russell
2010-05-06 16:43 ` [Qemu-devel] " Jamie Lokier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).