From nobody Fri May 3 01:23:43 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1573801521; cv=none; d=zoho.com; s=zohoarc; b=OAwxOGSup+R1CeUUYITLkM55K36YQW3HvDk9KOwO4a2OCPlN3R4XU08x1acifr5mjHVX9h0rIxjJMc3ZDjGDnqoaa5ieZSq7l/kowSJ5oHAPPin1CF58S+BkuSYX25nYITaHKvnT3cpyluq5bSYlQVrLNdRld+NIDl7bBonq57E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1573801521; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=xODnnFq/qttBYtX1wfg983CpgZQuj7Bh3aVYSYwjspU=; b=Fb8rQWV7+plarniQlQkngXJP1R/GSc/NTkRQez8elH+3Ss5gBqQteCKVbyIk0PVVeVdG3hnUL1vsoJRkVWCxA/68VXhxNpEA4ZFX0HRMIKyZvsCV9uoLaZn+/uOvi/l8bZpbT+ydu9KGZ+pD+PNWs8y0/6IIfIsmr4du1942/LM= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1573801521886672.9466009365311; Thu, 14 Nov 2019 23:05:21 -0800 (PST) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iVVeV-0008Ou-KK; Fri, 15 Nov 2019 07:04:19 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iVVeV-0008Op-0k for xen-devel@lists.xenproject.org; Fri, 15 Nov 2019 07:04:19 +0000 Received: from mx1.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 22f0072d-0776-11ea-a25f-12813bfff9fa; Fri, 15 Nov 2019 07:04:17 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id CBF64AD77; Fri, 15 Nov 2019 07:04:16 +0000 (UTC) X-Inumbo-ID: 22f0072d-0776-11ea-a25f-12813bfff9fa X-Virus-Scanned: by amavisd-new at test-mx.suse.de From: Juergen Gross To: xen-devel@lists.xenproject.org Date: Fri, 15 Nov 2019 08:04:14 +0100 Message-Id: <20191115070414.3862-1-jgross@suse.com> X-Mailer: git-send-email 2.16.4 Subject: [Xen-devel] [PATCH for-4.13] libxl: fix device model timeout in libxl__dm_resume() X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , Anthony PERARD , Ian Jackson , Wei Liu MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" libxl__dm_resume() is using a wrong timeout for the start of the device model. Instead of 60 seconds the timeout is set to 60 milliseconds. Reported-by: Roman Shaposhnik Fixes: 6298f0eb8f4437 ("libxl: Re-introduce libxl__domain_resume") Signed-off-by: Juergen Gross Acked-by: Wei Liu --- tools/libxl/libxl_dom_suspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_dom_suspend.c b/tools/libxl/libxl_dom_suspen= d.c index 248dbc33e3..35ae337261 100644 --- a/tools/libxl/libxl_dom_suspend.c +++ b/tools/libxl/libxl_dom_suspend.c @@ -515,7 +515,7 @@ void libxl__dm_resume(libxl__egc *egc, rc =3D libxl__ev_time_register_rel(dmrs->ao, &dmrs->time, dm_resume_timeout, - LIBXL_DEVICE_MODEL_START_TIMEOUT); + LIBXL_DEVICE_MODEL_START_TIMEOUT * 10= 00); if (rc) goto out; =20 switch (libxl__device_model_version_running(gc, domid)) { --=20 2.16.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel