]> Git Repo - qemu.git/commitdiff
libqos virtio: Increase ISR timeout
authorMarc Marí <[email protected]>
Thu, 11 Sep 2014 09:40:16 +0000 (11:40 +0200)
committerPeter Maydell <[email protected]>
Fri, 12 Sep 2014 12:58:07 +0000 (13:58 +0100)
Increase the clock step to avoid Travis failure in some builds due to
overagressive timeout.

Signed-off-by: Marc Marí <[email protected]>
Message-id: 1410428416[email protected]
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
tests/libqos/virtio.c

index 128dbd0e9af2fa694678b20778e234cc90ea2516..9b6de2c0a7ab6608271450d3a2211b465af504ce 100644 (file)
@@ -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 */
         }
This page took 0.027233 seconds and 4 git commands to generate.