From: Alexander Gordeev Subject: Re: [PATCH v7 04/14] x86: intel-iommu: add vt-d init test Date: Thu, 1 Dec 2016 20:37:49 +0100 Message-ID: <20161201193748.GD13263@agordeev.lab.eng.brq.redhat.com> References: <1480393550-12385-1-git-send-email-peterx@redhat.com> <1480393550-12385-5-git-send-email-peterx@redhat.com> <20161201131452.GC13263@agordeev.lab.eng.brq.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, drjones@redhat.com, jan.kiszka@web.de, rkrcmar@redhat.com, pbonzini@redhat.com To: Peter Xu Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55956 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755340AbcLATaV (ORCPT ); Thu, 1 Dec 2016 14:30:21 -0500 Content-Disposition: inline In-Reply-To: <20161201131452.GC13263@agordeev.lab.eng.brq.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Dec 01, 2016 at 02:14:52PM +0100, Alexander Gordeev wrote: > > + vtd_dump_init_info(); > > Should we check an iommu is there indeed? My environment > returns all zeroes (which is wrong I guess) and attempts > to proceed. I had an outdated qemu, which was the reason for missing iommu and endless loop I reported before. I guess, it is up to Andrew if he wants this test fault-tolerant in this regard.