qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [virtio guest] vring_need_event() from virtqueue_kick_prepare()
@ 2015-07-06 15:13 Catalin Vasile
  2015-07-07 10:17 ` Stefan Hajnoczi
  0 siblings, 1 reply; 10+ messages in thread
From: Catalin Vasile @ 2015-07-06 15:13 UTC (permalink / raw)
  To: qemu-devel

What is the logic behind vring_need_event() when used with
virtqueue_kick_prepare()?
What does the keyword >>just<< refer to from the following context:
/* The following is used with USED_EVENT_IDX and AVAIL_EVENT_IDX */
/* Assuming a given event_idx value from the other size, if
 * we have just incremented index from old to new_idx,
 * should we trigger an event? */
?
I am sending 2 jobs, one after another, and the second one just does
not want to kick, although the first one finished completely and the
backend went back to interrupt mode, all because vring_need_event()
returns false.

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

end of thread, other threads:[~2015-07-17 12:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-06 15:13 [Qemu-devel] [virtio guest] vring_need_event() from virtqueue_kick_prepare() Catalin Vasile
2015-07-07 10:17 ` Stefan Hajnoczi
2015-07-07 11:43   ` Catalin Vasile
2015-07-09 10:43     ` Stefan Hajnoczi
2015-07-09 10:45       ` Catalin Vasile
2015-07-16 12:52         ` Stefan Hajnoczi
2015-07-16 12:54           ` Catalin Vasile
2015-07-16 16:33             ` Stefan Hajnoczi
2015-07-17  6:30               ` Catalin Vasile
2015-07-17 12:58                 ` Stefan Hajnoczi

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).