From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: Re: vfio issue in qemu 2.5 Date: Thu, 4 Feb 2016 23:02:15 -0700 Message-ID: <20160204230215.1051c2f3@t450s.home> References: <10c201d15f5c$f7819670$e684c350$@zadarastorage.com> <20160204100207.2c953cc3@t450s.home> <10e501d15f79$1ae03d80$50a0b880$@zadarastorage.com> <214201d15fd4$c9024650$5b06d2f0$@zadarastorage.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: To: "Goutham GS" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:54435 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750750AbcBEGCP (ORCPT ); Fri, 5 Feb 2016 01:02:15 -0500 In-Reply-To: <214201d15fd4$c9024650$5b06d2f0$@zadarastorage.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, 5 Feb 2016 10:49:23 +0530 "Goutham GS" wrote: > Hello Alex, > > Sorry, I got the timestamps wrong yesterday. > > I see the following messages in kern.log at the time of the issue: > > Jan 31 03:46:39 qa2-sn2 kernel: [228419.858857] vfio-pci 0000:04:01.4: > enabling device (0000 -> 0002) > Jan 31 03:46:39 qa2-sn2 kernel: [228419.970492] vfio-pci 0000:04:02.7: > enabling device (0000 -> 0002) > Jan 31 03:46:39 qa2-sn2 kernel: [228420.082435] IOMMU: no free domain > ids Jan 31 03:46:39 qa2-sn2 kernel: [228420.124440] IOMMU: no free > domain ids > > Does this say anything? That's kind of a big deal. Kernel v3.17 introduced a domain ID leak that didn't get fully fixed until kernel v4.2. To make matters worse, even though the fixes were tagged for stable, the last one doesn't seem to have been backported to any pre-4.2 stable series. Long story short, you'll need to move to v4.2 or backport this to your kernel: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=46ebb7af7b93792de65e124e1ab8b89a108a41f2 Thanks, Alex