From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn001-00058d-NL for qemu-devel@nongnu.org; Thu, 22 Sep 2016 05:08:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmzzy-0007Yw-DQ for qemu-devel@nongnu.org; Thu, 22 Sep 2016 05:08:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmzzy-0007Yk-7C for qemu-devel@nongnu.org; Thu, 22 Sep 2016 05:08:54 -0400 Date: Thu, 22 Sep 2016 17:08:47 +0800 From: Peter Xu Message-ID: <20160922090847.GR5134@pxdev.xzpeter.org> References: <1468475796-7397-1-git-send-email-peterx@redhat.com> <20160922102939.6e05581d@nial.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160922102939.6e05581d@nial.brq.redhat.com> Subject: Re: [Qemu-devel] [PATCH v12 00/27] IOMMU: Enable interrupt remapping for Intel IOMMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: qemu-devel@nongnu.org, ehabkost@redhat.com, mst@redhat.com, jasowang@redhat.com, rkrcmar@redhat.com, alex.williamson@redhat.com, jan.kiszka@web.de, wexu@redhat.com, pbonzini@redhat.com, marcel@redhat.com, davidkiarie4@gmail.com, rth@twiddle.net On Thu, Sep 22, 2016 at 10:29:39AM +0200, Igor Mammedov wrote: > On Thu, 14 Jul 2016 13:56:09 +0800 > Peter Xu wrote: > > > This is v12 for Intel IR. Rebased to lastest master, with some tiny > > tweaks from v11. Please check changelog below. > > Hi Peter, > > While testing current master 9b8595bc with merged IR remapping > and default IDE disk as following: > > qemu-system-x86_64 --enable-kvm -m 2G -snapshot -M q35 \ > -smp 1,sockets=7,cores=32,threads=1,maxcpus=240 \ > -device qemu64-x86_64-cpu,socket-id=1,core-id=30,thread-id=0 \ > -device intel-iommu,intremap=on -machine kernel_irqchip=split \ > rhel73_disk.img I failed to reproduce the issue here. Is it reproducable on your side? Also, could I know the version of host kernel and kvm? > > I see errors, on QEMU stderr: > > KVM: injection failed, MSI lost (Operation not permitted) There are more than one place that dumps this. From the IO error in dmsg, I think IDE should be trying to inject the MSI but the ioctl() failed with -EPERM, which is strange. -- peterx