From: "Marc Marí" <marc.mari.barcelo@gmail.com>
To: qemu-devel@nongnu.org
Cc: "Marc Marí" <marc.mari.barcelo@gmail.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Stefan Hajnoczi" <stefanha@redhat.com>
Subject: [Qemu-devel] [TRIVIAL][PATCH v2] libqos virtio: Increase ISR timeout
Date: Thu, 11 Sep 2014 11:40:16 +0200 [thread overview]
Message-ID: <1410428416-5046-1-git-send-email-marc.mari.barcelo@gmail.com> (raw)
Increase the clock step to avoid Travis failure in some builds due to
overagressive timeout.
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
next reply other threads:[~2014-09-11 9:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-11 9:40 Marc Marí [this message]
2014-09-12 8:27 ` [Qemu-devel] [TRIVIAL][PATCH v2] libqos virtio: Increase ISR timeout Stefan Hajnoczi
2014-09-12 8:30 ` Peter Maydell
2014-09-12 13:24 ` Peter Maydell
2014-09-15 15:55 ` Stefan Hajnoczi
2014-09-15 21:47 ` Peter Maydell
2014-09-15 22:17 ` Marc Marí
2014-09-17 16:04 ` Marc Marí
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1410428416-5046-1-git-send-email-marc.mari.barcelo@gmail.com \
--to=marc.mari.barcelo@gmail.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).