From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63EACC433E1 for ; Fri, 15 May 2020 21:06:55 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3EC43206D4 for ; Fri, 15 May 2020 21:06:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3EC43206D4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=antioche.eu.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jZhXU-00006g-Et; Fri, 15 May 2020 21:06:40 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jZhXT-00006b-2C for xen-devel@lists.xenproject.org; Fri, 15 May 2020 21:06:39 +0000 X-Inumbo-ID: f6e41254-96ef-11ea-b07b-bc764e2007e4 Received: from chassiron.antioche.eu.org (unknown [2001:41d0:fe9d:1101::1]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id f6e41254-96ef-11ea-b07b-bc764e2007e4; Fri, 15 May 2020 21:06:37 +0000 (UTC) Received: from rochebonne.antioche.eu.org (rochebonne [IPv6:2001:41d0:fe9d:1100:221:70ff:fe0c:9885]) by chassiron.antioche.eu.org (8.15.2/8.15.2) with ESMTP id 04FL6T1U017877; Fri, 15 May 2020 23:06:29 +0200 (MEST) Received: by rochebonne.antioche.eu.org (Postfix, from userid 1210) id D6F142810; Fri, 15 May 2020 23:06:29 +0200 (CEST) Date: Fri, 15 May 2020 23:06:29 +0200 From: Manuel Bouyer To: Andrew Cooper Subject: Re: IOCTL_PRIVCMD_MMAPBATCH on Xen 4.13.0 Message-ID: <20200515210629.GA10976@antioche.eu.org> References: <20200515202912.GA11714@antioche.eu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (chassiron.antioche.eu.org [IPv6:2001:41d0:fe9d:1101:0:0:0:1]); Fri, 15 May 2020 23:06:30 +0200 (MEST) X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: xen-devel@lists.xenproject.org Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On Fri, May 15, 2020 at 10:00:07PM +0100, Andrew Cooper wrote: > What is qemu doing at the time?  Is it by any chance trying to map the > IOREQ server frame? Here's what gdb says about it: Core was generated by `qemu-dm'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x000000000046997d in cpu_x86_init ( cpu_model=cpu_model@entry=0x4d622d "qemu32") at /home/bouyer/pkgbuild/current/sysutils/xentools413/work/xen-4.13.0/tools/qemu-xen-traditional/i386-dm/helper2.c:156 156 rc = xenevtchn_bind_interdomain( --Type for more, q to quit, c to continue without paging-- [Current thread is 1 (process 1480)] (gdb) where #0 0x000000000046997d in cpu_x86_init ( cpu_model=cpu_model@entry=0x4d622d "qemu32") at /home/bouyer/pkgbuild/current/sysutils/xentools413/work/xen-4.13.0/tools/qemu-xen-traditional/i386-dm/helper2.c:156 #1 0x000000000043628d in pc_init1 (ram_size=, vga_ram_size=4194304, boot_device=0x7f7fff460397 "cda", pci_enabled=1, cpu_model=0x4d622d "qemu32", initrd_filename=, kernel_cmdline=, kernel_filename=) at /home/bouyer/pkgbuild/current/sysutils/xentools413/work/xen-4.13.0/tools/qemu-xen-traditional/hw/pc.c:829 #2 0x00000000004636e7 in xen_init_fv (ram_size=0, vga_ram_size=4194304, boot_device=0x7f7fff460397 "cda", kernel_filename=0x0, kernel_cmdline=0x4abff6 "", initrd_filename=0x0, cpu_model=0x0, direct_pci=0x0) at /home/bouyer/pkgbuild/current/sysutils/xentools413/work/xen-4.13.0/tools/qemu-xen-traditional/hw/xen_machine_fv.c:405 #3 0x00000000004a975b in main (argc=23, argv=0x7f7fff45fc78, envp=) at /home/bouyer/pkgbuild/current/sysutils/xentools413/work/xen-4.13.0/tools/qemu-xen-traditional/vl.c:6014 Does it help ? -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --