From nobody Tue Feb 10 11:13:02 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1578408961; cv=none; d=zohomail.com; s=zohoarc; b=XxPJeJR2cjSmgjpGEpSzci9r3g7fErtVdpl851hRMBV0IzkaZs5lE7nr6Xm1ax88/d9DH3bvPrSGs0c8/qA47H04DxxJfDy4q3hzImUSLuHpXZQTExblDUC0I14O9/EVoWjzju72oWlEiar/tUWNruP8Pohl1A7bxqfqTk+9MzE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578408961; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=lR6zZgUbeB9M7mMQSx/isyy16o8djCqNWEtK8LZ6lNQ=; b=cExWvDfQqpN2XtqLHRPkTAlhFiujMRfXuWgPUD6xjr4lCffJ43TRt4jqGV+h5GUehcrZVlbY6xPlItgQqyifB/+kMq4D78d3/HT+IsLzURWgBLmQnkpkQa9TCF4gqi9/+lTi7/wPhEYbAZ6wnTES55NorPPtYkTobrJPzbieIgk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1578408961467702.419417897758; Tue, 7 Jan 2020 06:56:01 -0800 (PST) Received: from localhost ([::1]:50650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioqH2-0002W8-EN for importer@patchew.org; Tue, 07 Jan 2020 09:56:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55370) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iopIJ-0008W7-Mf for qemu-devel@nongnu.org; Tue, 07 Jan 2020 08:53:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iopII-0002Fb-Jr for qemu-devel@nongnu.org; Tue, 07 Jan 2020 08:53:15 -0500 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:38133) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iopII-0002F1-D7 for qemu-devel@nongnu.org; Tue, 07 Jan 2020 08:53:14 -0500 Received: by mail-wm1-x344.google.com with SMTP id u2so19475548wmc.3 for ; Tue, 07 Jan 2020 05:53:14 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id s1sm27661001wmc.23.2020.01.07.05.53.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 05:53:11 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 30FB21FF8C; Tue, 7 Jan 2020 13:53:11 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lR6zZgUbeB9M7mMQSx/isyy16o8djCqNWEtK8LZ6lNQ=; b=kxJw+SuKbtoibzGzNCfs2MEzoG452iIpwVC71N/xfTpBZpPQ+a3bkRkVSXuKwXx544 JlhPrIF2JzZPFVyDfBkM+N8A1SDIlgUmH9TpYCvK/DpicM5Wnp/4yAc6w05DVXesyIqb qTDfWsiOKf8kq0bG5iBjVmnbbY9Vi72oZxy30qaQtOAo21wd+zLgIOwAg3CjTyef7vBv cMCXJ2i0eMPiBm72kRMJguT8w32Ia0OaClGuHEM2J40q4DEoD65z52VzHX7BEHl1DoMh T7nwQYk+njnsTiO5Y3nrDJdQE6CajrhbA38yGO53RSbrcfrZNUOjkWZUAlNbXBS9loMR C6dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lR6zZgUbeB9M7mMQSx/isyy16o8djCqNWEtK8LZ6lNQ=; b=bTBbIaSc5BFMm59ERYyzNgp6WRqWuVoFIb6VeWjFuQvdYZMFJYZTTAw1NIX5r3oyMX UDkALXvR6Ntw1RCyIHxN9EypR0Ueo34w1L7On7znuFmMq/98KEqZSGZWNFpSzoMwUN8u boZ5ds1X6y4GoPs34Rw7XH+fiepAQMfkE8Vku3HzYRFUTYwpeod5gDoF9najLpU5RFe/ uoy4yPFP3nrhMFoD+8uoYTynEks7oxu5tFDOtpnSt8Y7C8dJaEHqdXxA0/XBDUyJZ1wB 4suGe5vUJx9mSNXUCpVM9hM9STZxaKEhh/Juy52j4Eq7Er5aw5JHogkw+KJKvMGQWm+T QEVA== X-Gm-Message-State: APjAAAVo19P1ObUFLsbkOdShL4mbP1qorutPP9x+PEJQHgge5GDHY3xI XEBifDsp5YdIVf6D2USC4oFifw== X-Google-Smtp-Source: APXvYqyZHPThF8/MiG5jwxPfKS86cN5+Ae2YRjPCnzIFMpfI+LySHsPO/Xbk225tHMUxddqVLhPLlg== X-Received: by 2002:a1c:a406:: with SMTP id n6mr40304219wme.40.1578405193005; Tue, 07 Jan 2020 05:53:13 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 1/6] hw/i386/x86-iommu: Add missing stubs Date: Tue, 7 Jan 2020 13:53:06 +0000 Message-Id: <20200107135311.5215-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200107135311.5215-1-alex.bennee@linaro.org> References: <20200107135311.5215-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::344 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eduardo Habkost , "Michael S. Tsirkin" , Wainer dos Santos Moschetta , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Philippe Mathieu-Daud=C3=A9 In commit 6c730e4af9 we introduced a stub to build the MicroVM machine without Intel IOMMU. This stub is incomplete for the other PC machines. Add the missing stubs. Fixes: 6c730e4af9 Reported-by: Travis-CI Signed-off-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Wainer dos Santos Moschetta Message-Id: <20191220154225.25879-1-philmd@redhat.com> Reviewed-by: Thomas Huth --- hw/i386/x86-iommu-stub.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hw/i386/x86-iommu-stub.c b/hw/i386/x86-iommu-stub.c index 03576cdccb4..c5ba077f9d1 100644 --- a/hw/i386/x86-iommu-stub.c +++ b/hw/i386/x86-iommu-stub.c @@ -32,3 +32,12 @@ X86IOMMUState *x86_iommu_get_default(void) return NULL; } =20 +bool x86_iommu_ir_supported(X86IOMMUState *s) +{ + return false; +} + +IommuType x86_iommu_get_type(void) +{ + abort(); +} --=20 2.20.1