From nobody Wed Nov 5 09:43:27 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 1499742081678417.41111076690834; Mon, 10 Jul 2017 20:01:21 -0700 (PDT) Received: from localhost ([::1]:43886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUlQO-00082m-JE for importer@patchew.org; Mon, 10 Jul 2017 23:01:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUlNe-00065x-Lo for qemu-devel@nongnu.org; Mon, 10 Jul 2017 22:58:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUlNb-0000SC-FE for qemu-devel@nongnu.org; Mon, 10 Jul 2017 22:58:30 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:34424) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUlNb-0000Rq-AD; Mon, 10 Jul 2017 22:58:27 -0400 Received: by mail-qt0-f195.google.com with SMTP id m54so15102688qtb.1; Mon, 10 Jul 2017 19:58:27 -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.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jul 2017 19:57:25 -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=dWRVvfU59+6/j1GscjKiOzV6Mf+IhWgFCMg3s18drds=; b=D2QY5UfeeggpnenPpfSnopKzSvPYI62E7VgkSjbDFhxj8e7wn8uCvigJrPBsr96hGp hmmaAHSLFt7QHWd4xqtJ21n9X0ewZse3532VA/dcNcp3Tlqa6Yy42NjaqICdLlG1fbde SmlTuPu+D6HzCumXNhMNgpdaf7nc5FSrKFqirDsA8X1dZt6G6WzMczlT1ogHPwLj8BAT 0PO/re0AH5hSAXKqvFjb/aDnIu2Qcbx4l5lgC4oxTTIPDxsCVyWhejp7OoYjf/iggunk LCBfz3/eLUnbMj53oe7Bd96GFaKxU9mhkMch27gJA0LjtkrxyK3zIfaqreS2BWCf0TDy hkwA== 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=dWRVvfU59+6/j1GscjKiOzV6Mf+IhWgFCMg3s18drds=; b=D6i9/oOZ5W2zC0S0k1ECjkFWR72NXO1T7WUMR6/xJqj7BtHZUHBE8M9lcdcZ7mjdmd vzGJIAakbM8/OighO8Ehj+TACKlKVSrAEoMi+J/ZOkfoJLb25w+m0uIt0wyHidXQkxXg R+bxTaKrT6NsMNfC2F0uB4SmNpT/xYOHjwL7bmztpQUG9Nhv8b7gxyfeyNFUkkxV4/eQ Hq5I5lNqUgEBKebhvUI3VHiYw8BcK6Ix785zN6jp22ozlphQEgRhjU5ObRXnXzq8hNjQ /F+ZImfwcAo5vV+bxw3vxwyQvziStiklsw3hITPo+Fx1MsRwJ85yBnIyjAXS8xlC5oDi QISA== X-Gm-Message-State: AIVw111zSByDQwdIe7z5BUxmu8maDq0LYn3xTZVL5v49tpBS05XBHwXT Lp48xpSvsQNOyywH1Bd8Rg== X-Received: by 10.237.39.135 with SMTP id a7mr972074qtd.164.1499741846268; Mon, 10 Jul 2017 19:57:26 -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:02 -0300 Message-Id: <20170711025703.24194-3-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.216.195 Subject: [Qemu-devel] [RFC PATCH 2/3] xen/mapcache: disable Xen on arm* 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/arm[64] with libxen-4.8: exec.o: In function `reclaim_ramblock': qemu/exec.c:2071: undefined reference to `xen_invalidate_map_cache_entr= y' exec.o: In function `qemu_map_ram_ptr': qemu/exec.c:2177: undefined reference to `xen_map_cache' qemu/exec.c:2174: undefined reference to `xen_map_cache' exec.o: In function `qemu_ram_block_from_host': qemu/exec.c:2242: undefined reference to `xen_ram_addr_from_mapcache' qemu/exec.c:2242: undefined reference to `xen_ram_addr_from_mapcache' exec.o: In function `qemu_ram_ptr_length': qemu/exec.c:2210: undefined reference to `xen_map_cache' qemu/exec.c:2207: undefined reference to `xen_map_cache' exec.o: In function `address_space_unmap': qemu/exec.c:3357: undefined reference to `xen_invalidate_map_cache_entr= y' 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 --- include/sysemu/xen-mapcache.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/sysemu/xen-mapcache.h b/include/sysemu/xen-mapcache.h index 01daaad00c..75f0988e04 100644 --- a/include/sysemu/xen-mapcache.h +++ b/include/sysemu/xen-mapcache.h @@ -12,7 +12,9 @@ typedef hwaddr (*phys_offset_to_gaddr_t)(hwaddr start_addr, ram_addr_t size, void *opaque); -#ifdef CONFIG_XEN +/* FIXME ARM supported since Xen 4.3? */ +#if defined(CONFIG_XEN) /* XXX supported_xen_target() wrong? */ && \ + !defined(HOST_ARM) && !defined(HOST_AARCH64) =20 void xen_map_cache_init(phys_offset_to_gaddr_t f, void *opaque); --=20 2.13.2