From nobody Mon Feb 9 06:49:10 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578487192; cv=none; d=zohomail.com; s=zohoarc; b=JeyXrYCDFKP8heQEZ3AHGBMPQxC3+EH1eoqU4u+6zdzN31oDZ7FvfRPeubVDYkibdwLcuI5IpxtOjMviAq0VvGi9304pKUVSXNukfjUOtqc0XXMSifDH2PRNvh8qPrv04CMh/EVPpHXX1hZjfSQARbjMn6NfRJTv+ynRHJqVPIM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578487192; 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=NqwSzhoujF6+WywSNH6TKtDufZjSTHCCK+sRGZfnoPY=; b=LavCBfBJUZMcE9pJ1gp9X6ZRTq0p0gxg6KGmwhlu9c/RNCVrN3+C6nyFPaJGU8jJDuVCOR9NJBN+AyanmVx/LyX/a42IjlWFb7ebuBgBZsCw/DqxhQeqGytiRnLShnLgR+VT9OaZZG5V0Kb6h5iynaJvRxx/rZ5EbhCTiCHBlIg= 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 1578487192602176.24805200662377; Wed, 8 Jan 2020 04:39:52 -0800 (PST) Received: from localhost ([::1]:42880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipAco-00053n-O5 for importer@patchew.org; Wed, 08 Jan 2020 07:39:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60245) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipAWH-0003bm-Ls for qemu-devel@nongnu.org; Wed, 08 Jan 2020 07:33:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipAWG-0004Ep-Mw for qemu-devel@nongnu.org; Wed, 08 Jan 2020 07:33:05 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:35591) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipAWG-0004ER-H4 for qemu-devel@nongnu.org; Wed, 08 Jan 2020 07:33:04 -0500 Received: by mail-wm1-x332.google.com with SMTP id p17so2337011wmb.0 for ; Wed, 08 Jan 2020 04:33:04 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id o4sm4037750wrw.97.2020.01.08.04.33.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2020 04:33:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NqwSzhoujF6+WywSNH6TKtDufZjSTHCCK+sRGZfnoPY=; b=DAZxXj7gnqOqrfE2txCQIkjez8OwjzF0b4VDAcJV+BK0p/zKjgDmbIPl3iAVwr2odH Oi1QV60/xLcpEcbtmJR5vsnYjG0ISNiHdSqeUELZzCn3RCl9wuO8WafqhNM8hnUGnICv 64vFFp7cWrrhE2q8zt/cL2X4nepeCQ1VhA8WjIRCZPRdlrfkXnhPmaX1LtT7/86pun+s R9pRwWlti6j60ri9TxMKcI9X+axqM0br/I6c997j+6CsWhYEiWZRbeqx5TIbIOaqlc81 TUnQJAjB86ZO/5tpafe+22ujXfnQhN1wFNVALRyQvaWdyTvLoU8kO5srNcsRC6o5eNpS cwUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=NqwSzhoujF6+WywSNH6TKtDufZjSTHCCK+sRGZfnoPY=; b=TRHyPHroTB0FFV51XkTFF3XA2gmKdcHEF4crP53nfqhKZWaqAX0hVFHvfmcAU9MZXe wNN+78UMM2k/WC5mgmNZHJcs9TKorsXdo7+m6flav4n7e3nD80XHs1utU3Y6I02kTKTb WxIWmqQEtxKaGFr71o3wiDJKGSY7EXkRmlpumLavB1x/Mo9dpUeSQtqBIqjQuB6O/vcR +aGaa1U2K3fV1Ak2bIgB3SlM6bLpbPKWoNzF1Vnw0WCyHM1RR3BAeCJpqPGwF0l1pjf7 0YnqNWBwTa0o4IDBL+9L0GGU/uara4ZgNAce8+1pcv3GuRRaQFK8fSY3xqgFWIcJP3oY B15g== X-Gm-Message-State: APjAAAX1BPpbtHlu5qg7QU6p/idejsuYgrtoMdO32NACXzGN5CHnCnhK nKyYXfghhKS4va1EnXuMwR0Siu20 X-Google-Smtp-Source: APXvYqz200Eevm7NCYaOAYm6y77rg31Vk2H3dLaoxIZlhvcH3sb9+hHAyOLTCwA1UaHhfdzv1th7ow== X-Received: by 2002:a1c:9c87:: with SMTP id f129mr3547620wme.26.1578486783328; Wed, 08 Jan 2020 04:33:03 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 06/38] hw/i386/x86-iommu: Add missing stubs Date: Wed, 8 Jan 2020 13:32:23 +0100 Message-Id: <1578486775-52247-7-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1578486775-52247-1-git-send-email-pbonzini@redhat.com> References: <1578486775-52247-1-git-send-email-pbonzini@redhat.com> 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::332 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: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 ("pc: stubify x86 iommu", 2019-12-17) Reported-by: Travis-CI Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20191220154225.25879-1-philmd@redhat.com> Signed-off-by: Paolo Bonzini --- 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 03576cd..c5ba077 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 1.8.3.1