All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [TRIVIAL][PATCH] libqos virtio: Increase ISR timeout
@ 2014-09-09  9:25 Marc Marí
  2014-09-11  9:27 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Marí @ 2014-09-09  9:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: Marc Marí, Peter Maydell, Stefan Hajnoczi

Signed-off-by: Marc Marí <marc.mari.barcelo@gmail.com>
---
 tests/libqos/virtio.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/libqos/virtio.c b/tests/libqos/virtio.c
index 128dbd0..9b6de2c 100644
--- a/tests/libqos/virtio.c
+++ b/tests/libqos/virtio.c
@@ -82,7 +82,7 @@ bool qvirtio_wait_queue_isr(const QVirtioBus *bus, QVirtioDevice *d,
                                             QVirtQueue *vq, uint64_t timeout)
 {
     do {
-        clock_step(10);
+        clock_step(100);
         if (bus->get_queue_isr_status(d, vq)) {
             break; /* It has ended */
         }
@@ -95,7 +95,7 @@ bool qvirtio_wait_config_isr(const QVirtioBus *bus, QVirtioDevice *d,
                                                             uint64_t timeout)
 {
     do {
-        clock_step(10);
+        clock_step(100);
         if (bus->get_config_isr_status(d)) {
             break; /* It has ended */
         }
-- 
1.7.10.4

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

* Re: [Qemu-devel] [TRIVIAL][PATCH] libqos virtio: Increase ISR timeout
  2014-09-09  9:25 [Qemu-devel] [TRIVIAL][PATCH] libqos virtio: Increase ISR timeout Marc Marí
@ 2014-09-11  9:27 ` Stefan Hajnoczi
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2014-09-11  9:27 UTC (permalink / raw)
  To: Marc Marí; +Cc: Peter Maydell, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

On Tue, Sep 09, 2014 at 11:25:38AM +0200, Marc Marí wrote:
> Signed-off-by: Marc Marí <marc.mari.barcelo@gmail.com>
> ---
>  tests/libqos/virtio.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Missing a commit description.  Please justify this patch.  Why do you
need to bump the clock step amount?

What was failing and why?

This information is important to have in the git commit history.
Otherwise we'll look back and not know why this patch was necessary.

Stefan

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

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

end of thread, other threads:[~2014-09-11  9:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-09  9:25 [Qemu-devel] [TRIVIAL][PATCH] libqos virtio: Increase ISR timeout Marc Marí
2014-09-11  9:27 ` Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.