From nobody Wed Nov 5 09:43:28 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1499741983945925.7420120400576; Mon, 10 Jul 2017 19:59:43 -0700 (PDT) Received: from localhost ([::1]:43874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUlOo-0006xU-OS for importer@patchew.org; Mon, 10 Jul 2017 22:59:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUlNa-00064K-2y for qemu-devel@nongnu.org; Mon, 10 Jul 2017 22:58:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUlNX-0000Pl-0H for qemu-devel@nongnu.org; Mon, 10 Jul 2017 22:58:26 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:33035) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUlNW-0000PP-SL; Mon, 10 Jul 2017 22:58:22 -0400 Received: by mail-qk0-f194.google.com with SMTP id p21so15355240qke.0; Mon, 10 Jul 2017 19:58:22 -0700 (PDT) Received: from yoga.offpageads.com ([138.117.48.223]) by smtp.gmail.com with ESMTPSA id w46sm10813234qtw.28.2017.07.10.19.57.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jul 2017 19:57:20 -0700 (PDT) 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=o/0RcrL6lxCwB7LLYkFFT8oUiQZu4TVKRCsFxMNb24E=; b=FAls8hbWmixIcYb6JBqxt0XxD8e6uTLEvJTCwJ2CK/NyerqFTrDxn88FGS0hMB4Gr4 KwRDFEIj4oM2AeMvXwGw0iYw7ucCjK2SNpkotWMs/8Q7mC3uZjrZbYt8rpagvO0Rg6dr +/gxrAS5pzZQi8VgY9Bg0ftWXXhCR9Wz8Gvspat4hD3ha2JV7DT3iNXKaOXVZ9M5YGqs 9P6+FniYJcy4xW2fTKYYAADscHMuCvOKxfNX8Kfp+sg0h44qM/cWNNvtxpvzHzwQfrik 5/zQpWxuOEt3QSA0j6aLdypVjAQsAIgMsXQVDAn0vSMd3FiP/hWOIemxZsT+PUB70V9d zDzA== 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=o/0RcrL6lxCwB7LLYkFFT8oUiQZu4TVKRCsFxMNb24E=; b=M3ykdiNWk7ILiObOzHUvWaUFWDoMlz5sFeQ6tn/+6vgpe3OSgJC9lkzSOXId3xndH7 D8MvCutGVsZeDf1FeNFzkTX7PMV2w7ERqCeZCU148nA43s6PpDlW64e4qift5YwzmiZZ U7x6PHqNuXuPdmWARafFf6ic/8nroNm6yu7v3B+sH4fozVxRX416JifUBzv8mfmTqLkB J9WowO8ZJ+WhQ+mhUjWV377uMAPNrQY8/aScuTu3950Vb1fP4v0vMmcHtikaUPQfKtv9 XP06zYE6XlWoW9tlyt+d25Pb9bilLxFcrM21in9kLWvAnAtliyG9MU08M9Nl+QnwxW5f MOxg== X-Gm-Message-State: AIVw113Vf9/6bhzIDQJqUCyd2qAPWS9l6tIuyPpb0Q/yb8mkYeSvTge4 VOatSDZ1bqieZfL1D14QvQ== X-Received: by 10.55.165.5 with SMTP id o5mr7502665qke.112.1499741841832; Mon, 10 Jul 2017 19:57:21 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, xen-devel@lists.xenproject.org, Peter Maydell , Paolo Bonzini , Stefano Stabellini , qemu-arm@nongnu.org Date: Mon, 10 Jul 2017 23:57:01 -0300 Message-Id: <20170711025703.24194-2-f4bug@amsat.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170711025703.24194-1-f4bug@amsat.org> References: <20170711025703.24194-1-f4bug@amsat.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: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.220.194 Subject: [Qemu-devel] [RFC PATCH 1/3] configure: disable Xen PCI Passthrough on !x86 archs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , Marcelo Tosatti , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Anthony Xu , Anoob Soman , Anthony Perard , xen-arm@lists.xen.org, Paul Durrant Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 linking on Linux debian/stretch/arm64 with libxen-4.8: hw/xen/xen_pt.o: In function `xen_pt_pci_read_config': qemu/hw/xen/xen_pt.c:206: undefined reference to `xen_shutdown_fatal_er= ror' hw/xen/xen_pt.o: In function `xen_igd_passthrough_isa_bridge_create': qemu/hw/xen/xen_pt.c:698: undefined reference to `igd_passthrough_isa_b= ridge_create' hw/xen/xen_pt.o: In function `xen_pt_pci_write_config': qemu/hw/xen/xen_pt.c:355: undefined reference to `xen_shutdown_fatal_er= ror' hw/xen/xen_pt_config_init.o: In function `xen_pt_status_reg_init': qemu/hw/xen/xen_pt_config_init.c:281: undefined reference to `xen_shutd= own_fatal_error' qemu/hw/xen/xen_pt_config_init.c:275: undefined reference to `xen_shutd= own_fatal_error' hw/xen/xen_pt_graphics.o: In function `get_vgabios': qemu/hw/xen/xen_pt_graphics.c:135: undefined reference to `pci_assign_d= ev_load_option_rom' collect2: error: ld returned 1 exit status Makefile:197: recipe for target 'qemu-system-aarch64' failed make[1]: *** [qemu-system-aarch64] Error 1 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- configure | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 806658c98b..e4b173405a 100755 --- a/configure +++ b/configure @@ -2344,8 +2344,15 @@ EOF fi =20 if test "$xen_pci_passthrough" !=3D "no"; then - if test "$xen" =3D "yes" && test "$linux" =3D "yes"; then - xen_pci_passthrough=3Dyes + if test "$xen" =3D "yes"; then + case "$cpu" in + i386|x32|x86_64) + if test "$linux" =3D "yes"; then + xen_pci_passthrough=3Dyes + fi ;; + *) echo "Disabling Xen PCI Passthrough (not implemented on $cpu)" + xen_pci_passthrough=3Dno ;; + esac else if test "$xen_pci_passthrough" =3D "yes"; then error_exit "User requested feature Xen PCI Passthrough" \ --=20 2.13.2