From patchwork Thu Sep 11 09:40:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marc_Mar=C3=AD?= X-Patchwork-Id: 388175 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5D8331400E9 for ; Thu, 11 Sep 2014 19:41:05 +1000 (EST) Received: from localhost ([::1]:35541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS0sA-0007a8-Rg for incoming@patchwork.ozlabs.org; Thu, 11 Sep 2014 05:41:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS0rl-0007Iv-0g for qemu-devel@nongnu.org; Thu, 11 Sep 2014 05:40:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XS0rc-0006MV-0U for qemu-devel@nongnu.org; Thu, 11 Sep 2014 05:40:36 -0400 Received: from mail-we0-x22a.google.com ([2a00:1450:400c:c03::22a]:64660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS0rb-0006M3-MQ for qemu-devel@nongnu.org; Thu, 11 Sep 2014 05:40:27 -0400 Received: by mail-we0-f170.google.com with SMTP id u57so6575541wes.1 for ; Thu, 11 Sep 2014 02:40:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=/k0FjKWt4iOJB6NaM5F7oNmrHLzf4n1hP10v0Eajxaw=; b=m+UTyarM9MMYHXMzLP441lwiec+NEnqvdK95poNvvheGfBuLcCaTJJcQQ0RUJPJoei U2eHAjst5OCcIgB3L6BFbwPWZUcN12CuADJQ1H0tulGjeB/sie695E0kttFgfDwaQhEH z0e6Ofbsa2NS/wZfh9YWAA4+3gzpnz0ljB74i8plKRGif6M5UTpuxSjhYCGkPWInSmwy eCXHM2btFiq8Cr9P5WujMHM9WuBBU4tvghCdPO0zhh66lsJYLvZ+gDhfwUE266tG44nk LSEwP+jaXn4nTaGtWPHXHj4Ieflf5gkS+QV5LeGTQ3VFMD0e+L1SJj82tBsrQTdaziRR uE6A== X-Received: by 10.180.186.10 with SMTP id fg10mr823440wic.20.1410428426437; Thu, 11 Sep 2014 02:40:26 -0700 (PDT) Received: from localhost.localdomain (4.Red-79-154-206.dynamicIP.rima-tde.net. [79.154.206.4]) by mx.google.com with ESMTPSA id fh5sm922052wib.5.2014.09.11.02.40.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Sep 2014 02:40:25 -0700 (PDT) From: =?UTF-8?q?Marc=20Mar=C3=AD?= To: qemu-devel@nongnu.org Date: Thu, 11 Sep 2014 11:40:16 +0200 Message-Id: <1410428416-5046-1-git-send-email-marc.mari.barcelo@gmail.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22a Cc: =?UTF-8?q?Marc=20Mar=C3=AD?= , Peter Maydell , Stefan Hajnoczi Subject: [Qemu-devel] [TRIVIAL][PATCH v2] libqos virtio: Increase ISR timeout X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Increase the clock step to avoid Travis failure in some builds due to overagressive timeout. Signed-off-by: Marc MarĂ­ Reviewed-by: Stefan Hajnoczi --- 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 */ }