Displaying 2 results from an estimated 2 matches for "2b9859b".
Did you mean:
2b958fb
2017 Dec 18
0
[PATCH v2] virtio/ringtest: fix up need_event math
...Michael S. Tsirkin <mst at redhat.com>
---
Changes from v1:
fix inverted logic in call_used
tools/virtio/ringtest/ring.c | 24 +++++++++++++++---------
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/tools/virtio/ringtest/ring.c b/tools/virtio/ringtest/ring.c
index 747c5dd..2b9859b 100644
--- a/tools/virtio/ringtest/ring.c
+++ b/tools/virtio/ringtest/ring.c
@@ -188,16 +188,18 @@ bool enable_call()
void kick_available(void)
{
+ bool need;
+
/* Flush in previous flags write */
/* Barrier C (for pairing) */
smp_mb();
- if (!need_event(event->kick_index,
- guest.av...
2017 Dec 18
0
[PATCH v2] virtio/ringtest: fix up need_event math
...Michael S. Tsirkin <mst at redhat.com>
---
Changes from v1:
fix inverted logic in call_used
tools/virtio/ringtest/ring.c | 24 +++++++++++++++---------
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/tools/virtio/ringtest/ring.c b/tools/virtio/ringtest/ring.c
index 747c5dd..2b9859b 100644
--- a/tools/virtio/ringtest/ring.c
+++ b/tools/virtio/ringtest/ring.c
@@ -188,16 +188,18 @@ bool enable_call()
void kick_available(void)
{
+ bool need;
+
/* Flush in previous flags write */
/* Barrier C (for pairing) */
smp_mb();
- if (!need_event(event->kick_index,
- guest.av...